Skip to content

Commit

Permalink
Fix Alembic upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jun 7, 2023
1 parent 10218ca commit 74c3564
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -48,7 +48,7 @@ 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:
Expand Down

0 comments on commit 74c3564

Please sign in to comment.