-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from citysciencelab/fix-gs-upload
fix: fix geoserver upload
- Loading branch information
Showing
3 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"""Add postgis extension | ||
Revision ID: 1.0.6 | ||
Revises: | ||
Create Date: 2024-10-01 14:00 | ||
""" | ||
|
||
from alembic import op | ||
from sqlalchemy import BigInteger, Column, String | ||
|
||
revision = "1.0.6" | ||
down_revision = "1.0.5" | ||
branch_labels = "add_postgis_extension" | ||
depends_on = "1.0.5" | ||
|
||
def upgrade(): | ||
op.execute('create extension postgis') | ||
|
||
def downgrade(): | ||
op.execute('drop extension postgis') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters