@ai-devtools/dbspec-macos-arm64 1.6.0 → 1.6.1

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: 1.6.0
3
+ Version: 1.6.1
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 = "1.6.0"
7
+ version = "1.6.1"
8
8
  description = "DBSpec: CLI/TUI for database design (Excel as DSL)"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -100,7 +100,7 @@ from ..{{ common_dir_name }}.base import metadata
100
100
  ),
101
101
  {% endif %}
102
102
  {% for check in table.check_constraints %}
103
- CheckConstraint("{{ check.expression | replace('"', '\\"') }}", name="{{ check.name }}"),
103
+ CheckConstraint({{ check.expression | py_repr }}, name={{ check.name | py_repr }}),
104
104
  {% endfor %}
105
105
  {% for constraint in table.unique_constraints %}
106
106
  UniqueConstraint(
@@ -225,7 +225,7 @@ class {{ table.class_name }}({{ base_class }}):
225
225
  ),
226
226
  {% endif %}
227
227
  {% for check in table.check_constraints %}
228
- CheckConstraint("{{ check.expression | replace('"', '\\"') }}", name="{{ check.name }}"),
228
+ CheckConstraint({{ check.expression | py_repr }}, name={{ check.name | py_repr }}),
229
229
  {% endfor %}
230
230
  {% for constraint in table.unique_constraints %}
231
231
  UniqueConstraint(
package/bin/dbspec/dbspec CHANGED
Binary file
package/package.json CHANGED
@@ -24,5 +24,5 @@
24
24
  "publishConfig": {
25
25
  "access": "public"
26
26
  },
27
- "version": "1.6.0"
27
+ "version": "1.6.1"
28
28
  }