From d6b34ceb21951d97fd978e66d03459749d6dea6e Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 25 Feb 2015 23:18:55 +0100 Subject: Removed the functionality for the email notifications of new articles. No real added value. --- ...b750a389c22_remove_email_notification_column.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 migrations/versions/1b750a389c22_remove_email_notification_column.py (limited to 'migrations/versions') diff --git a/migrations/versions/1b750a389c22_remove_email_notification_column.py b/migrations/versions/1b750a389c22_remove_email_notification_column.py new file mode 100644 index 00000000..5ec748a8 --- /dev/null +++ b/migrations/versions/1b750a389c22_remove_email_notification_column.py @@ -0,0 +1,22 @@ +"""remove email_notification column + +Revision ID: 1b750a389c22 +Revises: 48f561c0ce6 +Create Date: 2015-02-25 23:01:07.253429 + +""" + +# revision identifiers, used by Alembic. +revision = '1b750a389c22' +down_revision = '48f561c0ce6' + +from alembic import op +import sqlalchemy as sa + + +def upgrade(): + op.drop_column('feed', 'email_notification') + + +def downgrade(): + op.add_column('feed', sa.Column('email_notification', sa.Boolean(), default=False)) -- cgit