aboutsummaryrefslogtreecommitdiff
path: root/migrations/versions/48f561c0ce6_add_column_entry_id.py
blob: e5bc57357a4caf9f429258db3838d4e8e38ce27c (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
"""add column entry_id

Revision ID: 48f561c0ce6
Revises:
Create Date: 2015-02-18 21:17:19.346998

"""

# revision identifiers, used by Alembic.
revision = '48f561c0ce6'
down_revision = None
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.add_column('article', sa.Column('entry_id', sa.String(), nullable=True))


def downgrade():
    op.drop_column('article', 'entry_id')
bgstack15