mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Python v3.8 does not support parenthesized context expressions.
This commit is contained in:
parent
e6d2334753
commit
b02e210c68
@ -26,8 +26,8 @@ depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
with (op.batch_alter_table("server",
|
||||
table_kwargs={'sqlite_autoincrement': True}) as batch_op):
|
||||
with op.batch_alter_table("server",
|
||||
table_kwargs={'sqlite_autoincrement': True}) as batch_op:
|
||||
if context.get_impl().bind.dialect.name == "sqlite":
|
||||
batch_op.alter_column('id', autoincrement=True)
|
||||
batch_op.add_column(sa.Column('is_adhoc', sa.Integer(),
|
||||
|
Loading…
Reference in New Issue
Block a user