diff --git a/commons/c2cgeoportal_commons/alembic/main/52916d8fde8b_add_sql_fields_to_vector_tiles.py b/commons/c2cgeoportal_commons/alembic/main/52916d8fde8b_add_sql_fields_to_vector_tiles.py index 3e33b7581fc..eef1935e119 100644 --- a/commons/c2cgeoportal_commons/alembic/main/52916d8fde8b_add_sql_fields_to_vector_tiles.py +++ b/commons/c2cgeoportal_commons/alembic/main/52916d8fde8b_add_sql_fields_to_vector_tiles.py @@ -1,4 +1,4 @@ -# Copyright (c) 2020-2021, Camptocamp SA +# Copyright (c) 2020-2023, Camptocamp SA # All rights reserved. # Redistribution and use in source and binary forms, with or without @@ -48,11 +48,11 @@ def upgrade() -> None: """Upgrade.""" schema = config["schema"] table = "layer_vectortiles" - op.add_column(table, Column("sql", Unicode, nullable=True), schema) + op.add_column(table, Column("sql", Unicode, nullable=True), schema=schema) def downgrade() -> None: """Downgrade.""" schema = config["schema"] table = "layer_vectortiles" - op.drop_column(table, "sql", schema) + op.drop_column(table, "sql", schema=schema)