plain.models 0.34.1__py3-none-any.whl → 0.34.2__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.
- plain/models/CHANGELOG.md +11 -0
- plain/models/backends/base/schema.py +2 -0
- plain/models/backends/postgresql/base.py +0 -1
- plain/models/backends/postgresql/schema.py +2 -0
- {plain_models-0.34.1.dist-info → plain_models-0.34.2.dist-info}/METADATA +1 -1
- {plain_models-0.34.1.dist-info → plain_models-0.34.2.dist-info}/RECORD +9 -9
- {plain_models-0.34.1.dist-info → plain_models-0.34.2.dist-info}/WHEEL +0 -0
- {plain_models-0.34.1.dist-info → plain_models-0.34.2.dist-info}/entry_points.txt +0 -0
- {plain_models-0.34.1.dist-info → plain_models-0.34.2.dist-info}/licenses/LICENSE +0 -0
plain/models/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# plain-models changelog
|
2
2
|
|
3
|
+
## [0.34.2](https://github.com/dropseed/plain/releases/plain-models@0.34.2) (2025-06-27)
|
4
|
+
|
5
|
+
### What's changed
|
6
|
+
|
7
|
+
- Fixed PostgreSQL `_nodb_cursor` fallback that could raise `TypeError: __init__() got an unexpected keyword argument 'alias'` when the maintenance database wasn't available ([3e49683](https://github.com/dropseed/plain/commit/3e49683)).
|
8
|
+
- Restored support for the `USING` clause when creating PostgreSQL indexes; custom index types such as `GIN` and `GIST` are now generated correctly again ([9d2b8fe](https://github.com/dropseed/plain/commit/9d2b8fe)).
|
9
|
+
|
10
|
+
### Upgrade instructions
|
11
|
+
|
12
|
+
- No changes required
|
13
|
+
|
3
14
|
## [0.34.1](https://github.com/dropseed/plain/releases/plain-models@0.34.1) (2025-06-23)
|
4
15
|
|
5
16
|
### What's changed
|
@@ -1247,6 +1247,7 @@ class BaseDatabaseSchemaEditor:
|
|
1247
1247
|
fields=None,
|
1248
1248
|
name=None,
|
1249
1249
|
suffix="",
|
1250
|
+
using="",
|
1250
1251
|
col_suffixes=(),
|
1251
1252
|
sql=None,
|
1252
1253
|
opclasses=(),
|
@@ -1276,6 +1277,7 @@ class BaseDatabaseSchemaEditor:
|
|
1276
1277
|
sql_create_index,
|
1277
1278
|
table=Table(table, self.quote_name),
|
1278
1279
|
name=IndexName(table, columns, suffix, create_index_name),
|
1280
|
+
using=using,
|
1279
1281
|
columns=(
|
1280
1282
|
self._index_columns(table, columns, col_suffixes, opclasses)
|
1281
1283
|
if columns
|
@@ -329,6 +329,7 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
|
|
329
329
|
fields=None,
|
330
330
|
name=None,
|
331
331
|
suffix="",
|
332
|
+
using="",
|
332
333
|
col_suffixes=(),
|
333
334
|
sql=None,
|
334
335
|
opclasses=(),
|
@@ -347,6 +348,7 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
|
|
347
348
|
fields=fields,
|
348
349
|
name=name,
|
349
350
|
suffix=suffix,
|
351
|
+
using=using,
|
350
352
|
col_suffixes=col_suffixes,
|
351
353
|
sql=sql,
|
352
354
|
opclasses=opclasses,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
plain/models/CHANGELOG.md,sha256=
|
1
|
+
plain/models/CHANGELOG.md,sha256=r04vS3MHdGDOKyt4OTk9EUw0BFysg9Ci8_hd6KbeDD4,2196
|
2
2
|
plain/models/README.md,sha256=vsZPev3Fna-Irdcs3-wrOcAoII5LOhXdcWLBMT87CS0,1626
|
3
3
|
plain/models/__init__.py,sha256=dnU6MOXs3lGoK31nLWjCqbf7zigkaUccomchz9lNDJ8,2950
|
4
4
|
plain/models/aggregates.py,sha256=P0mhsMl1VZt2CVHMuCHnNI8SxZ9citjDLEgioN6NOpo,7240
|
@@ -37,7 +37,7 @@ plain/models/backends/base/creation.py,sha256=idyE4g7uhqPWmTf9oMlovpoIqQaZFv5fvQ
|
|
37
37
|
plain/models/backends/base/features.py,sha256=nHUkFjKSx_w9QwD4l-jXP_zotvspy9o6ayn-AHzzrHI,7959
|
38
38
|
plain/models/backends/base/introspection.py,sha256=8icKf9h8y4kobmyrbo8JWTDcpQIAt4oS_4FtCnY7FqQ,6815
|
39
39
|
plain/models/backends/base/operations.py,sha256=Y08cS7IZwYXMKVUoEpBCjyOTh1PW2OShoRU9TZdipss,25740
|
40
|
-
plain/models/backends/base/schema.py,sha256=
|
40
|
+
plain/models/backends/base/schema.py,sha256=eJIeoN1nm7abIw_2eKFxeckcZHldixgvDlgCTwvb7GI,65649
|
41
41
|
plain/models/backends/base/validation.py,sha256=2zpI11hyUJr0I0cA1xmvoFwQVdZ-7_1T2F11TpQ0Rkk,1067
|
42
42
|
plain/models/backends/mysql/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
43
43
|
plain/models/backends/mysql/base.py,sha256=9PEaRvRcU9MBfir-s_rNooemDmjQQpfzB1DxJJdmC14,15985
|
@@ -50,13 +50,13 @@ plain/models/backends/mysql/operations.py,sha256=zLtg50k7WzqO3eZjLAknhKg29bxm0-y
|
|
50
50
|
plain/models/backends/mysql/schema.py,sha256=W6sV2DLdGAeM7ZX80m1XCRtV95DDhyochy8oJ18bet8,9870
|
51
51
|
plain/models/backends/mysql/validation.py,sha256=TFYpuRoy3yG3SGfMFtRewaWq5gISN6FBaq-AD0DY7SI,1946
|
52
52
|
plain/models/backends/postgresql/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
53
|
-
plain/models/backends/postgresql/base.py,sha256=
|
53
|
+
plain/models/backends/postgresql/base.py,sha256=SE6wmmxOtCnMDwycUs9yn_WATl97eV-4t8AaiK41E20,16053
|
54
54
|
plain/models/backends/postgresql/client.py,sha256=EcqNtyQ9Kt5mA6sOmrO_5PGZBGo7fjMc9VQ-hcxJs1s,2055
|
55
55
|
plain/models/backends/postgresql/creation.py,sha256=HSGzWzsx3-IayEVZvgqcYqIE_HCtAEBK0uIPh5duPKg,1555
|
56
56
|
plain/models/backends/postgresql/features.py,sha256=O8iWfAjqyOX7DhjZaGJvyO-vmWcrkDopFnG2bHEQK44,1322
|
57
57
|
plain/models/backends/postgresql/introspection.py,sha256=IV7E_vT0TQ5UaTgGIi0a5nYb7WOZdRXx2NyNFGuVB2E,11334
|
58
58
|
plain/models/backends/postgresql/operations.py,sha256=CZ5wtgV1wvUJOCyBLmtnWEIecERJIO9AijqISJVINs4,11309
|
59
|
-
plain/models/backends/postgresql/schema.py,sha256=
|
59
|
+
plain/models/backends/postgresql/schema.py,sha256=iVYqK9pTMJWtyrfqGB-U23Gatr9dH3D0c3tORSycnMM,13732
|
60
60
|
plain/models/backends/sqlite3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
61
61
|
plain/models/backends/sqlite3/_functions.py,sha256=XsohPZN-xFEEmC28stQzAiSMvE0nHJ1cMHfL2Ze72vI,14317
|
62
62
|
plain/models/backends/sqlite3/base.py,sha256=h0nFOR89IqFRnBLgjKLPf9eutHOQPmpiatjt4ZjlU34,13265
|
@@ -113,8 +113,8 @@ plain/models/sql/where.py,sha256=ezE9Clt2BmKo-I7ARsgqZ_aVA-1UdayCwr6ULSWZL6c,126
|
|
113
113
|
plain/models/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
114
114
|
plain/models/test/pytest.py,sha256=5mxY1MHqfCFJ7G39W1DuE0vCHfsfehQQmOyE6vI6caw,3323
|
115
115
|
plain/models/test/utils.py,sha256=MxBNWoGMtwAtka7LbxWgilgzv7T5qqJL8ystF2SDJrs,345
|
116
|
-
plain_models-0.34.
|
117
|
-
plain_models-0.34.
|
118
|
-
plain_models-0.34.
|
119
|
-
plain_models-0.34.
|
120
|
-
plain_models-0.34.
|
116
|
+
plain_models-0.34.2.dist-info/METADATA,sha256=wsRt3LgaqNF--XdOjUktCcbRG2BauaToDhki6TLukl4,1921
|
117
|
+
plain_models-0.34.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
118
|
+
plain_models-0.34.2.dist-info/entry_points.txt,sha256=IYJAW9MpL3PXyXFWmKmALagAGXC_5rzBn2eEGJlcV04,112
|
119
|
+
plain_models-0.34.2.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
|
120
|
+
plain_models-0.34.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|