diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-03 19:23:39 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-03 19:23:39 +0100 |
commit | a065a2c873e80ea933b5cb6ef542ad7a759714e1 (patch) | |
tree | 0b2f3e61764afc8589187383d7751bf84181650e /src/migrations/versions/db64b766362f_add_notes_column_for_articles.py | |
parent | alembic patch (diff) | |
download | newspipe-a065a2c873e80ea933b5cb6ef542ad7a759714e1.tar.gz newspipe-a065a2c873e80ea933b5cb6ef542ad7a759714e1.tar.bz2 newspipe-a065a2c873e80ea933b5cb6ef542ad7a759714e1.zip |
carpy tests for alembic...
Diffstat (limited to 'src/migrations/versions/db64b766362f_add_notes_column_for_articles.py')
-rw-r--r-- | src/migrations/versions/db64b766362f_add_notes_column_for_articles.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/migrations/versions/db64b766362f_add_notes_column_for_articles.py b/src/migrations/versions/db64b766362f_add_notes_column_for_articles.py deleted file mode 100644 index 3d25b004..00000000 --- a/src/migrations/versions/db64b766362f_add_notes_column_for_articles.py +++ /dev/null @@ -1,22 +0,0 @@ -"""Add notes column for articles. - -Revision ID: db64b766362f -Revises: 25ca960a207 -Create Date: 2016-01-06 19:03:25.511074 - -""" - -# revision identifiers, used by Alembic. -revision = 'db64b766362f' -down_revision = '25ca960a207' - -from alembic import op -import sqlalchemy as sa - - -def upgrade(): - op.add_column('article', sa.Column('notes', sa.String(), nullable=True)) - - -def downgrade(): - op.drop_column('article', 'notes') |