mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
set default value for screenshots paths
This commit is contained in:
@@ -21,8 +21,8 @@ depends_on = None
|
||||
def upgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table("roms") as batch_op:
|
||||
batch_op.add_column(sa.Column('url_screenshots', sa.JSON(), nullable=True))
|
||||
batch_op.add_column(sa.Column('path_screenshots', sa.JSON(), nullable=True))
|
||||
batch_op.add_column(sa.Column('url_screenshots', sa.JSON(), nullable=False, server_default='[]'))
|
||||
batch_op.add_column(sa.Column('path_screenshots', sa.JSON(), nullable=False, server_default='[]'))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user