aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--migrations/versions/cde34831ea_adding_feed_and_user_attributes_for_.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/migrations/versions/cde34831ea_adding_feed_and_user_attributes_for_.py b/migrations/versions/cde34831ea_adding_feed_and_user_attributes_for_.py
index 2e7e2553..53607f76 100644
--- a/migrations/versions/cde34831ea_adding_feed_and_user_attributes_for_.py
+++ b/migrations/versions/cde34831ea_adding_feed_and_user_attributes_for_.py
@@ -14,8 +14,6 @@ from datetime import datetime
import sqlalchemy as sa
from alembic import op
-import conf
-
def upgrade():
unix_start = datetime(1970, 1, 1)
@@ -52,15 +50,3 @@ def upgrade():
"user", sa.Column("refresh_rate", sa.Integer(), nullable=True, default=60)
)
# end Alembic commands ###
-
-
-def downgrade():
- # commands auto generated by Alembic - please adjust! ###
- if "sqlite" not in conf.SQLALCHEMY_DATABASE_URI:
- op.drop_column("user", "refresh_rate")
- op.drop_column("feed", "last_modified")
- op.drop_column("feed", "last_error")
- op.drop_column("feed", "error_count")
- op.drop_column("feed", "last_retrieved")
- op.drop_column("feed", "etag")
- # end Alembic commands ###
bgstack15