aboutsummaryrefslogtreecommitdiff
path: root/migrations/versions/48f561c0ce6_add_column_entry_id.py
blob: ad05313fb569b6dbb7c97ae2c3abab16d5d24cbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""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

import sqlalchemy as sa
from alembic import op


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