diff options
author | morpheus65535 <[email protected]> | 2023-07-29 07:56:32 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2023-07-29 07:56:32 -0400 |
commit | 479f11fae62834b341e3d78a2fc82bd6c54440af (patch) | |
tree | 7cbd176456b7bc4c3f6701153201cc55efcc0459 /migrations | |
parent | 98a0b65d97526259b3a3c901ca8a3baaa8959ad6 (diff) | |
download | bazarr-479f11fae62834b341e3d78a2fc82bd6c54440af.tar.gz bazarr-479f11fae62834b341e3d78a2fc82bd6c54440af.zip |
Fixed table deletion issue with PostgreSQL.v1.2.5-beta.6
Diffstat (limited to 'migrations')
-rw-r--r-- | migrations/versions/195144da1f7e_.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/migrations/versions/195144da1f7e_.py b/migrations/versions/195144da1f7e_.py index 9d31259b6..0dbcde1bd 100644 --- a/migrations/versions/195144da1f7e_.py +++ b/migrations/versions/195144da1f7e_.py @@ -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 |