@ai-devtools/dbspec-windows-x64 0.7.17 → 0.7.19

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dbspec
3
- Version: 0.7.17
3
+ Version: 0.7.19
4
4
  Summary: DBSpec: CLI/TUI for database design (Excel as DSL)
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "dbspec"
7
- version = "0.7.17"
7
+ version = "0.7.19"
8
8
  description = "DBSpec: CLI/TUI for database design (Excel as DSL)"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -70,6 +70,9 @@ from ..{{ common_dir_name }}.base import metadata
70
70
  {% if col.is_pk and not table.pk_constraint -%}
71
71
  {% set _ = col_args.append('primary_key=True') -%}
72
72
  {% endif -%}
73
+ {% if col.disable_autoincrement -%}
74
+ {% set _ = col_args.append('autoincrement=False') -%}
75
+ {% endif -%}
73
76
  {% if col.is_unique -%}
74
77
  {% set _ = col_args.append('unique=True') -%}
75
78
  {% endif -%}
@@ -282,6 +285,9 @@ class {{ table.class_name }}({{ base_class }}):
282
285
  {% if col.is_pk -%}
283
286
  {% set _ = col_args.append('primary_key=True') -%}
284
287
  {% endif -%}
288
+ {% if col.disable_autoincrement -%}
289
+ {% set _ = col_args.append('autoincrement=False') -%}
290
+ {% endif -%}
285
291
  {% if col.is_unique -%}
286
292
  {% set _ = col_args.append('unique=True') -%}
287
293
  {% endif -%}
Binary file
package/package.json CHANGED
@@ -24,5 +24,5 @@
24
24
  "publishConfig": {
25
25
  "access": "public"
26
26
  },
27
- "version": "0.7.17"
27
+ "version": "0.7.19"
28
28
  }