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

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

"""

# revision identifiers, used by Alembic.
revision = "19bdaa6208e"
down_revision = "422da2d0234"

import sqlalchemy as sa
from alembic import op


def upgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.add_column("feed", sa.Column("icon", sa.String(), nullable=True))
    ### end Alembic commands ###


def downgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("feed", "icon")
    ### end Alembic commands ###
bgstack15