Skip to content

Commit

Permalink
Fixed table deletion issue with PostgreSQL.
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Jul 29, 2023
1 parent 98a0b65 commit 479f11f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions migrations/versions/195144da1f7e_.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ def upgrade():
if column_exists('table_movies', 'rowid'):
batch_op.drop_column(column_name='rowid')

if 'table_custom_score_profiles' in tables:
op.drop_table('table_custom_score_profiles')

if 'table_custom_score_profile_conditions' in tables:
op.drop_table('table_custom_score_profile_conditions')

if 'table_custom_score_profiles' in tables:
op.drop_table('table_custom_score_profiles')


def downgrade():
pass

0 comments on commit 479f11f

Please sign in to comment.