aboutsummaryrefslogtreecommitdiff
path: root/migrations/versions
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-02-25 23:18:55 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-02-25 23:18:55 +0100
commitd6b34ceb21951d97fd978e66d03459749d6dea6e (patch)
treebacd9f9028ef07beb75aadeb57a8fb2aae849d7d /migrations/versions
parentRelease 6.1. Updated NEWS.rst (diff)
downloadnewspipe-d6b34ceb21951d97fd978e66d03459749d6dea6e.tar.gz
newspipe-d6b34ceb21951d97fd978e66d03459749d6dea6e.tar.bz2
newspipe-d6b34ceb21951d97fd978e66d03459749d6dea6e.zip
Removed the functionality for the email notifications of new articles. No real added value.
Diffstat (limited to 'migrations/versions')
-rw-r--r--migrations/versions/1b750a389c22_remove_email_notification_column.py22
1 files changed, 22 insertions, 0 deletions
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))
bgstack15