aboutsummaryrefslogtreecommitdiff
path: root/migrations/versions/19bdaa6208e_add_icon_column.py
blob: a7542f5d15cd8247eb48c123344def4dc0f7bfb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""adding icon columns

Revision ID: 19bdaa6208e
Revises: 422da2d0234
Create Date: 2015-07-03 12:09:58.596010

"""

# revision identifiers, used by Alembic.
from alembic import op
import sqlalchemy as sa
revision = "19bdaa6208e"
down_revision = "422da2d0234"


def upgrade():
    op.add_column("feed", sa.Column("icon", sa.String(), nullable=True))


def downgrade():
    op.drop_column("feed", "icon")
bgstack15