diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-13 11:24:54 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-13 11:24:54 +0100 |
commit | ba1aa6845b9f5a609496977f44f4e49e183fddee (patch) | |
tree | d3b2b20acaa14cdb48ca38bf8a5473a3c42b0ea6 /migrations/versions/7f973d010686_add_updated_date_column_to_article_table.py | |
parent | alembic id (diff) | |
download | newspipe-ba1aa6845b9f5a609496977f44f4e49e183fddee.tar.gz newspipe-ba1aa6845b9f5a609496977f44f4e49e183fddee.tar.bz2 newspipe-ba1aa6845b9f5a609496977f44f4e49e183fddee.zip |
alembic id
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') |