c2cgeoportal-commons 2.9rc82__py3-none-any.whl → 2.9rc83__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of c2cgeoportal-commons might be problematic. Click here for more details.
- c2cgeoportal_commons/alembic/main/b6b09f414fe8_sync_model_database.py +13 -4
- {c2cgeoportal_commons-2.9rc82.dist-info → c2cgeoportal_commons-2.9rc83.dist-info}/METADATA +1 -1
- {c2cgeoportal_commons-2.9rc82.dist-info → c2cgeoportal_commons-2.9rc83.dist-info}/RECORD +5 -5
- {c2cgeoportal_commons-2.9rc82.dist-info → c2cgeoportal_commons-2.9rc83.dist-info}/WHEEL +0 -0
- {c2cgeoportal_commons-2.9rc82.dist-info → c2cgeoportal_commons-2.9rc83.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2024, Camptocamp SA
|
|
1
|
+
# Copyright (c) 2024-2025, Camptocamp SA
|
|
2
2
|
# All rights reserved.
|
|
3
3
|
|
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
|
@@ -83,6 +83,18 @@ def upgrade() -> None:
|
|
|
83
83
|
op.execute(f"UPDATE {schema}.restrictionarea SET readwrite = false WHERE readwrite IS NULL")
|
|
84
84
|
op.alter_column("restrictionarea", "readwrite", existing_type=sa.BOOLEAN(), nullable=False, schema=schema)
|
|
85
85
|
# Add missing index
|
|
86
|
+
# Remove it if he al ready exists
|
|
87
|
+
connection = op.get_bind()
|
|
88
|
+
if op.get_context().dialect.has_index(
|
|
89
|
+
connection,
|
|
90
|
+
index_name="idx_restrictionarea_area",
|
|
91
|
+
table_name="restrictionarea",
|
|
92
|
+
schema=schema,
|
|
93
|
+
):
|
|
94
|
+
op.drop_index(
|
|
95
|
+
"idx_restrictionarea_area", table_name="restrictionarea", schema=schema, postgresql_using="gist"
|
|
96
|
+
)
|
|
97
|
+
|
|
86
98
|
op.create_index(
|
|
87
99
|
"idx_restrictionarea_area",
|
|
88
100
|
"restrictionarea",
|
|
@@ -135,9 +147,6 @@ def downgrade() -> None:
|
|
|
135
147
|
schema=schema,
|
|
136
148
|
)
|
|
137
149
|
op.alter_column("tsearch", "label", existing_type=sa.VARCHAR(), nullable=True, schema=schema)
|
|
138
|
-
op.drop_index(
|
|
139
|
-
"idx_restrictionarea_area", table_name="restrictionarea", schema=schema, postgresql_using="gist"
|
|
140
|
-
)
|
|
141
150
|
op.alter_column("restrictionarea", "readwrite", existing_type=sa.BOOLEAN(), nullable=True, schema=schema)
|
|
142
151
|
op.alter_column("restrictionarea", "name", existing_type=sa.VARCHAR(), nullable=True, schema=schema)
|
|
143
152
|
op.alter_column(
|
|
@@ -43,7 +43,7 @@ c2cgeoportal_commons/alembic/main/a00109812f89_add_field_layer_wms_valid.py,sha2
|
|
|
43
43
|
c2cgeoportal_commons/alembic/main/a4558f032d7d_add_support_of_cog_layers.py,sha256=lP49YAcmzEvcRrmNWwkrNqzmO6AXz6VZqTWFvpauoGA,2628
|
|
44
44
|
c2cgeoportal_commons/alembic/main/a4f1aac9bda_merge_1_6_and_master_branches.py,sha256=UOmbeBX2LlQlIb8ozDJamRPkxn-fZhTGRY7MCuafHEg,1989
|
|
45
45
|
c2cgeoportal_commons/alembic/main/b60f2a505f42_remame_uimetadata_to_metadata.py,sha256=AUOvLwCYLY9VYQ9qcW9ikf88135xFo_RrMG73MJXwUQ,2212
|
|
46
|
-
c2cgeoportal_commons/alembic/main/b6b09f414fe8_sync_model_database.py,sha256=
|
|
46
|
+
c2cgeoportal_commons/alembic/main/b6b09f414fe8_sync_model_database.py,sha256=3BhfwDY4eO3VMsAyIAK3OEUcG6o6FsDE8vjRdeiYGds,6683
|
|
47
47
|
c2cgeoportal_commons/alembic/main/c75124553bf3_remove_deprecated_columns.py,sha256=2d0sDT_G2uEPGpIpCq70T57jaldIxNHRl9stB2ccOIU,2447
|
|
48
48
|
c2cgeoportal_commons/alembic/main/d48a63b348f1_change_mapserver_url_for_docker.py,sha256=vDIgYu6XKH82K9fE_t0JlGVF1dGM1hrcL89faHhk3mk,2470
|
|
49
49
|
c2cgeoportal_commons/alembic/main/d8ef99bc227e_be_able_to_delete_a_linked_functionality.py,sha256=feDsuwIAUOQsT7kLMBiD3McUSjepV_NOy2MbiO9lYQI,3447
|
|
@@ -83,7 +83,7 @@ c2cgeoportal_commons/testing/__init__.py,sha256=E_CJMEWjf87NZMNNp-2OhgcZD6LvxGHp
|
|
|
83
83
|
c2cgeoportal_commons/testing/initializedb.py,sha256=jsFzMimA_wPbp0DwniGiM_ekngDyX57mqoI6_ioNPUY,3224
|
|
84
84
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
85
85
|
tests/conftest.py,sha256=DdCNLXAzOwjztauMELLHQsdzcuQgx83Jfy-0JUu-OCs,1450
|
|
86
|
-
c2cgeoportal_commons-2.
|
|
87
|
-
c2cgeoportal_commons-2.
|
|
88
|
-
c2cgeoportal_commons-2.
|
|
89
|
-
c2cgeoportal_commons-2.
|
|
86
|
+
c2cgeoportal_commons-2.9rc83.dist-info/METADATA,sha256=_9ngfFmaKPO9Vd7Jw2tBgZ3XJ9R7NlkkDkErTiAS9oY,1803
|
|
87
|
+
c2cgeoportal_commons-2.9rc83.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
88
|
+
c2cgeoportal_commons-2.9rc83.dist-info/top_level.txt,sha256=NWDBsLJav5VgJVX1XzTwUvFShioh9XSi5IaJU_9_YDc,27
|
|
89
|
+
c2cgeoportal_commons-2.9rc83.dist-info/RECORD,,
|
|
File without changes
|
{c2cgeoportal_commons-2.9rc82.dist-info → c2cgeoportal_commons-2.9rc83.dist-info}/top_level.txt
RENAMED
|
File without changes
|