mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-22 07:42:32 +00:00
Fixed postgresql database migrations not applied (#2601)
This commit is contained in:
parent
cc82c01c88
commit
e5edf6203c
3 changed files with 2 additions and 4 deletions
|
@ -110,8 +110,6 @@ def run_migrations_online():
|
|||
elif bind.engine.name == 'postgresql':
|
||||
bind.execute(text("SET CONSTRAINTS ALL IMMEDIATE;"))
|
||||
|
||||
bind.close()
|
||||
|
||||
|
||||
if context.is_offline_mode():
|
||||
run_migrations_offline()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""empty message
|
||||
|
||||
Revision ID: 452dd0f0b578
|
||||
Revises: 30f37e2e15e1
|
||||
Revises: b183a2ac0dd1
|
||||
Create Date: 2024-05-06 20:27:15.618027
|
||||
|
||||
"""
|
||||
|
@ -11,7 +11,7 @@ import sqlalchemy as sa
|
|||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '452dd0f0b578'
|
||||
down_revision = '30f37e2e15e1'
|
||||
down_revision = 'b183a2ac0dd1'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
|
Loading…
Reference in a new issue