summaryrefslogtreecommitdiff
path: root/migrations/versions/dd0766afb7d2_store_user_agent_string_with_files.py
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/versions/dd0766afb7d2_store_user_agent_string_with_files.py')
-rw-r--r--migrations/versions/dd0766afb7d2_store_user_agent_string_with_files.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/migrations/versions/dd0766afb7d2_store_user_agent_string_with_files.py b/migrations/versions/dd0766afb7d2_store_user_agent_string_with_files.py
index 4af7680..914d31a 100644
--- a/migrations/versions/dd0766afb7d2_store_user_agent_string_with_files.py
+++ b/migrations/versions/dd0766afb7d2_store_user_agent_string_with_files.py
@@ -15,16 +15,10 @@ import sqlalchemy as sa
def upgrade():
- # ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('file', schema=None) as batch_op:
batch_op.add_column(sa.Column('ua', sa.UnicodeText(), nullable=True))
- # ### end Alembic commands ###
-
def downgrade():
- # ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('file', schema=None) as batch_op:
batch_op.drop_column('ua')
-
- # ### end Alembic commands ###