summaryrefslogtreecommitdiff
path: root/migrations/versions/dd0766afb7d2_store_user_agent_string_with_files.py
diff options
context:
space:
mode:
authorMia Herkt <mia@0x0.st>2024-09-27 17:39:18 +0200
committerMia Herkt <mia@0x0.st>2024-09-27 18:30:33 +0200
commitde19212a719b0bc6ea5455b3e32072a76d021df6 (patch)
tree6f95f343bbb3587f50739c97019f3159b4b8a095 /migrations/versions/dd0766afb7d2_store_user_agent_string_with_files.py
parenta2147cc964d385a59f077add9d7e5ba009bf9b2e (diff)
PEP8 compliance
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 ###