mirror of
https://github.com/rommapp/romm.git
synced 2026-03-03 02:27:00 +00:00
move batch_op to else block so postgres bypasses
This commit is contained in:
@@ -73,8 +73,8 @@ def upgrade() -> None:
|
||||
name="romfilecategory",
|
||||
)
|
||||
|
||||
with op.batch_alter_table("rom_files", schema=None) as batch_op:
|
||||
batch_op.alter_column("category", type_=rom_file_category_enum, nullable=True)
|
||||
with op.batch_alter_table("rom_files", schema=None) as batch_op:
|
||||
batch_op.alter_column("category", type_=rom_file_category_enum, nullable=True)
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
|
||||
Reference in New Issue
Block a user