diff options
Diffstat (limited to 'migrations/versions/7f973d010686_add_updated_date_column_to_article_table.py')
-rw-r--r-- | migrations/versions/7f973d010686_add_updated_date_column_to_article_table.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/migrations/versions/7f973d010686_add_updated_date_column_to_article_table.py b/migrations/versions/7f973d010686_add_updated_date_column_to_article_table.py deleted file mode 100644 index 2c67450c..00000000 --- a/migrations/versions/7f973d010686_add_updated_date_column_to_article_table.py +++ /dev/null @@ -1,22 +0,0 @@ -"""add updated_date column to article table - -Revision ID: 3f83bfe93fc -Revises: 25ca960a207 -Create Date: 2016-02-12 21:51:40.868539 - -""" - -# revision identifiers, used by Alembic. -revision = '3f83bfe93fc' -down_revision = '25ca960a207' - -from alembic import op -import sqlalchemy as sa - - -def upgrade(): - op.add_column('article', sa.Column('updated_date', sa.DateTime(), nullable=True)) - - -def downgrade(): - op.drop_column('article', 'updated_date') |