@dbml/cli 9.0.0-optional-ref.1 → 9.0.0-optional-ref.3

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.
Files changed (47) hide show
  1. package/__tests__/db2dbml/mssql/dbml-error.log +140 -0
  2. package/__tests__/db2dbml/mssql/expect-out-files/schema.dbml +1 -1
  3. package/__tests__/db2dbml/mysql/dbml-error.log +182 -0
  4. package/__tests__/db2dbml/mysql/expect-out-files/schema.dbml +1 -1
  5. package/__tests__/db2dbml/oracle/dbml-error.log +196 -0
  6. package/__tests__/db2dbml/oracle/expect-out-files/schema.dbml +8 -8
  7. package/__tests__/db2dbml/postgres/dbml-error.log +98 -0
  8. package/__tests__/db2dbml/postgres/expect-out-files/schema.dbml +1 -1
  9. package/__tests__/dbml2sql/filename --mysql --out-file/out-files/schema.sql +1 -1
  10. package/__tests__/dbml2sql/filename --oracle --out-file/out-files/schema.sql +1 -1
  11. package/__tests__/dbml2sql/filename --out-file/out-files/schema.sql +1 -1
  12. package/__tests__/dbml2sql/filename --postgres --out-file/out-files/schema.sql +1 -1
  13. package/__tests__/dbml2sql/filenames --mysql --out-file/out-files/schema.sql +1 -1
  14. package/__tests__/dbml2sql/filenames --oracle --out-file/out-files/schema.sql +1 -1
  15. package/__tests__/dbml2sql/filenames --out-file/out-files/schema.sql +1 -1
  16. package/__tests__/dbml2sql/filenames --postgres --out-file/out-files/schema.sql +1 -1
  17. package/__tests__/dbml2sql/multifile error entry-syntax-error/dbml-error.log +75 -0
  18. package/__tests__/dbml2sql/multifile error import-not-found/dbml-error.log +6690 -0
  19. package/__tests__/dbml2sql/multifile error imported-syntax-error/dbml-error.log +75 -0
  20. package/__tests__/dbml2sql/multifile error transitive-use-not-visible/dbml-error.log +60 -0
  21. package/__tests__/dbml2sql/multiple_schema_mssql/out-files/multiple_schema.out.sql +1 -1
  22. package/__tests__/dbml2sql/multiple_schema_mysql/out-files/multiple_schema.out.sql +1 -1
  23. package/__tests__/dbml2sql/multiple_schema_oracle/out-files/multiple_schema.out.sql +1 -1
  24. package/__tests__/dbml2sql/multiple_schema_pg/out-files/multiple_schema.out.sql +1 -1
  25. package/__tests__/dbml2sql/syntax-error/dbml-error.log +75 -0
  26. package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/dbml-error.log +60 -0
  27. package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/dbml-error.log +60 -0
  28. package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/dbml-error.log +60 -0
  29. package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/dbml-error.log +60 -0
  30. package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/dbml-error.log +60 -0
  31. package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/dbml-error.log +60 -0
  32. package/__tests__/sql2dbml/filename --mssql --out-file/out-files/schema.dbml +2 -2
  33. package/__tests__/sql2dbml/filename --mysql --out-file/out-files/schema.dbml +5 -5
  34. package/__tests__/sql2dbml/filename --oracle --out-file/out-files/schema.dbml +12 -12
  35. package/__tests__/sql2dbml/filename --out-file/out-files/schema.dbml +5 -5
  36. package/__tests__/sql2dbml/filename --postgres --out-file/out-files/schema.dbml +5 -5
  37. package/__tests__/sql2dbml/filenames --mysql --out-file/out-files/schema.dbml +15 -15
  38. package/__tests__/sql2dbml/filenames --out-file/out-files/schema.dbml +15 -15
  39. package/__tests__/sql2dbml/filenames --postgres --out-file/out-files/schema.dbml +15 -15
  40. package/__tests__/sql2dbml/multiple_schema_mssql/out-files/multiple_schema.out.dbml +5 -5
  41. package/__tests__/sql2dbml/multiple_schema_mysql/out-files/multiple_schema.out.dbml +7 -7
  42. package/__tests__/sql2dbml/multiple_schema_pg/out-files/multiple_schema.out.dbml +5 -5
  43. package/__tests__/sql2dbml/syntax-error/dbml-error.log +56 -0
  44. package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +56 -0
  45. package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +56 -0
  46. package/lib/index.js +5 -5
  47. package/package.json +5 -5
@@ -58,26 +58,26 @@ Table "task_hours" {
58
58
  "hours_worked" NUMBER(5,2)
59
59
  }
60
60
 
61
- Ref "fk_emp_dept":"departments"."dept_id" <? "employees"."department_id"
61
+ Ref "fk_emp_dept":"departments"."dept_id" < "employees"."department_id"
62
62
 
63
- Ref "fk_dept_location":"locations"."location_id" <? "departments"."location_id"
63
+ Ref "fk_dept_location":"locations"."location_id" < "departments"."location_id"
64
64
 
65
- Ref "fk_loc_country":"countries"."country_code" <? "locations"."country_code"
65
+ Ref "fk_loc_country":"countries"."country_code" < "locations"."country_code"
66
66
 
67
- Ref "fk_emp_manager":"employees"."emp_id" <? "employees"."manager_id"
67
+ Ref "fk_emp_manager":"employees"."emp_id" < "employees"."manager_id"
68
68
 
69
- Ref "fk_dept_manager":"employees"."emp_id" <? "departments"."manager_id"
69
+ Ref "fk_dept_manager":"employees"."emp_id" < "departments"."manager_id"
70
70
 
71
- Ref:"departments"."dept_id" <? "projects"."dept_id"
71
+ Ref:"departments"."dept_id" < "projects"."dept_id"
72
72
 
73
- Ref:"employees"."emp_id" <? "assignments"."emp_id"
73
+ Ref:"employees"."emp_id" < "assignments"."emp_id"
74
74
 
75
- Ref:"projects"."project_id" <? "assignments"."project_id"
75
+ Ref:"projects"."project_id" < "assignments"."project_id"
76
76
 
77
- Ref "fk_task_hours_project_task":"project_tasks".("project_id", "task_id") ?<? "task_hours".("project_id", "task_id")
77
+ Ref "fk_task_hours_project_task":"project_tasks".("project_id", "task_id") < "task_hours".("project_id", "task_id")
78
78
 
79
- Ref "fk_proj_lead_emp":"employees"."emp_id" <? "projects"."lead_emp_id"
79
+ Ref "fk_proj_lead_emp":"employees"."emp_id" < "projects"."lead_emp_id"
80
80
 
81
- Ref "fk_proj_backup_emp":"employees"."emp_id" <? "projects"."backup_emp_id"
81
+ Ref "fk_proj_backup_emp":"employees"."emp_id" < "projects"."backup_emp_id"
82
82
 
83
- Ref "fk_task_assigned_emp":"employees"."emp_id" <? "project_tasks"."assigned_emp_id"
83
+ Ref "fk_task_assigned_emp":"employees"."emp_id" < "project_tasks"."assigned_emp_id"
@@ -61,14 +61,14 @@ Table "countries" {
61
61
  "continent_name" varchar
62
62
  }
63
63
 
64
- Ref:"orders"."id" <? "order_items"."order_id"
64
+ Ref:"orders"."id" < "order_items"."order_id"
65
65
 
66
- Ref:"products"."id" <? "order_items"."product_id"
66
+ Ref:"products"."id" < "order_items"."product_id"
67
67
 
68
- Ref:"countries"."code" <? "users"."country_code"
68
+ Ref:"countries"."code" < "users"."country_code"
69
69
 
70
- Ref:"countries"."code" <? "merchants"."country_code"
70
+ Ref:"countries"."code" < "merchants"."country_code"
71
71
 
72
72
  Ref:"merchants"."id" < "products"."merchant_id"
73
73
 
74
- Ref:"users"."id" <? "merchants"."admin_id"
74
+ Ref:"users"."id" < "merchants"."admin_id"
@@ -61,14 +61,14 @@ Table "countries" {
61
61
  "continent_name" varchar
62
62
  }
63
63
 
64
- Ref:"orders"."id" <? "order_items"."order_id"
64
+ Ref:"orders"."id" < "order_items"."order_id"
65
65
 
66
- Ref:"products"."id" <? "order_items"."product_id"
66
+ Ref:"products"."id" < "order_items"."product_id"
67
67
 
68
- Ref:"countries"."code" <? "users"."country_code"
68
+ Ref:"countries"."code" < "users"."country_code"
69
69
 
70
- Ref:"countries"."code" <? "merchants"."country_code"
70
+ Ref:"countries"."code" < "merchants"."country_code"
71
71
 
72
72
  Ref:"merchants"."id" < "products"."merchant_id"
73
73
 
74
- Ref:"users"."id" <? "merchants"."admin_id"
74
+ Ref:"users"."id" < "merchants"."admin_id"
@@ -39,15 +39,15 @@ Table "rental" {
39
39
  "last_update" timestamp
40
40
  }
41
41
 
42
- Ref:"store"."id" <? "staff"."store_id"
42
+ Ref:"store"."id" < "staff"."store_id"
43
43
 
44
- Ref:"staff"."id" <? "store"."manager_staff_id"
44
+ Ref:"staff"."id" < "store"."manager_staff_id"
45
45
 
46
- Ref:"staff"."id" <? "payment"."staff_id"
46
+ Ref:"staff"."id" < "payment"."staff_id"
47
47
 
48
- Ref:"rental"."id" <? "payment"."rental_id"
48
+ Ref:"rental"."id" < "payment"."rental_id"
49
49
 
50
- Ref:"staff"."id" <? "rental"."staff_id"
50
+ Ref:"staff"."id" < "rental"."staff_id"
51
51
  Table "country" {
52
52
  "id" int [pk]
53
53
  "country" varchar(255)
@@ -88,11 +88,11 @@ Table "customer" {
88
88
  }
89
89
  }
90
90
 
91
- Ref:"country"."id" <? "city"."country_id"
91
+ Ref:"country"."id" < "city"."country_id"
92
92
 
93
- Ref:"city"."id" <? "address"."city_id"
93
+ Ref:"city"."id" < "address"."city_id"
94
94
 
95
- Ref:"address"."id" <? "customer"."address_id"
95
+ Ref:"address"."id" < "customer"."address_id"
96
96
  Table "category" {
97
97
  "id" int [pk]
98
98
  "name" varchar(255)
@@ -155,16 +155,16 @@ Table "inventory" {
155
155
  "last_update" timestamp
156
156
  }
157
157
 
158
- Ref:"category"."id" <? "film_category"."category_id"
158
+ Ref:"category"."id" < "film_category"."category_id"
159
159
 
160
- Ref:"inventory"."film_id" ?<? "film_text"."film_id"
160
+ Ref:"inventory"."film_id" < "film_text"."film_id"
161
161
 
162
- Ref:"language"."id" <? "film"."language_id"
162
+ Ref:"language"."id" < "film"."language_id"
163
163
 
164
- Ref:"language"."id" <? "film"."original_language_id"
164
+ Ref:"language"."id" < "film"."original_language_id"
165
165
 
166
- Ref:"film"."id" <? "film_actor"."film_id"
166
+ Ref:"film"."id" < "film_actor"."film_id"
167
167
 
168
- Ref:"actor"."id" <? "film_actor"."actor_id"
168
+ Ref:"actor"."id" < "film_actor"."actor_id"
169
169
 
170
- Ref:"film"."id" <? "inventory"."film_id"
170
+ Ref:"film"."id" < "inventory"."film_id"
@@ -39,15 +39,15 @@ Table "rental" {
39
39
  "last_update" timestamp
40
40
  }
41
41
 
42
- Ref:"store"."id" <? "staff"."store_id"
42
+ Ref:"store"."id" < "staff"."store_id"
43
43
 
44
- Ref:"staff"."id" <? "store"."manager_staff_id"
44
+ Ref:"staff"."id" < "store"."manager_staff_id"
45
45
 
46
- Ref:"staff"."id" <? "payment"."staff_id"
46
+ Ref:"staff"."id" < "payment"."staff_id"
47
47
 
48
- Ref:"rental"."id" <? "payment"."rental_id"
48
+ Ref:"rental"."id" < "payment"."rental_id"
49
49
 
50
- Ref:"staff"."id" <? "rental"."staff_id"
50
+ Ref:"staff"."id" < "rental"."staff_id"
51
51
  Table "country" {
52
52
  "id" int [pk]
53
53
  "country" varchar
@@ -88,11 +88,11 @@ Table "customer" {
88
88
  }
89
89
  }
90
90
 
91
- Ref:"country"."id" <? "city"."country_id"
91
+ Ref:"country"."id" < "city"."country_id"
92
92
 
93
- Ref:"city"."id" <? "address"."city_id"
93
+ Ref:"city"."id" < "address"."city_id"
94
94
 
95
- Ref:"address"."id" <? "customer"."address_id"
95
+ Ref:"address"."id" < "customer"."address_id"
96
96
  Table "category" {
97
97
  "id" int [pk]
98
98
  "name" varchar
@@ -155,16 +155,16 @@ Table "inventory" {
155
155
  "last_update" timestamp
156
156
  }
157
157
 
158
- Ref:"category"."id" <? "film_category"."category_id"
158
+ Ref:"category"."id" < "film_category"."category_id"
159
159
 
160
- Ref:"inventory"."film_id" ?<? "film_text"."film_id"
160
+ Ref:"inventory"."film_id" < "film_text"."film_id"
161
161
 
162
- Ref:"language"."id" <? "film"."language_id"
162
+ Ref:"language"."id" < "film"."language_id"
163
163
 
164
- Ref:"language"."id" <? "film"."original_language_id"
164
+ Ref:"language"."id" < "film"."original_language_id"
165
165
 
166
- Ref:"film"."id" <? "film_actor"."film_id"
166
+ Ref:"film"."id" < "film_actor"."film_id"
167
167
 
168
- Ref:"actor"."id" <? "film_actor"."actor_id"
168
+ Ref:"actor"."id" < "film_actor"."actor_id"
169
169
 
170
- Ref:"film"."id" <? "inventory"."film_id"
170
+ Ref:"film"."id" < "inventory"."film_id"
@@ -39,15 +39,15 @@ Table "rental" {
39
39
  "last_update" timestamp
40
40
  }
41
41
 
42
- Ref:"store"."id" <? "staff"."store_id"
42
+ Ref:"store"."id" < "staff"."store_id"
43
43
 
44
- Ref:"staff"."id" <? "store"."manager_staff_id"
44
+ Ref:"staff"."id" < "store"."manager_staff_id"
45
45
 
46
- Ref:"staff"."id" <? "payment"."staff_id"
46
+ Ref:"staff"."id" < "payment"."staff_id"
47
47
 
48
- Ref:"rental"."id" <? "payment"."rental_id"
48
+ Ref:"rental"."id" < "payment"."rental_id"
49
49
 
50
- Ref:"staff"."id" <? "rental"."staff_id"
50
+ Ref:"staff"."id" < "rental"."staff_id"
51
51
  Table "country" {
52
52
  "id" int [pk]
53
53
  "country" varchar
@@ -88,11 +88,11 @@ Table "customer" {
88
88
  }
89
89
  }
90
90
 
91
- Ref:"country"."id" <? "city"."country_id"
91
+ Ref:"country"."id" < "city"."country_id"
92
92
 
93
- Ref:"city"."id" <? "address"."city_id"
93
+ Ref:"city"."id" < "address"."city_id"
94
94
 
95
- Ref:"address"."id" <? "customer"."address_id"
95
+ Ref:"address"."id" < "customer"."address_id"
96
96
  Table "category" {
97
97
  "id" int [pk]
98
98
  "name" varchar
@@ -155,16 +155,16 @@ Table "inventory" {
155
155
  "last_update" timestamp
156
156
  }
157
157
 
158
- Ref:"category"."id" <? "film_category"."category_id"
158
+ Ref:"category"."id" < "film_category"."category_id"
159
159
 
160
- Ref:"inventory"."film_id" ?<? "film_text"."film_id"
160
+ Ref:"inventory"."film_id" < "film_text"."film_id"
161
161
 
162
- Ref:"language"."id" <? "film"."language_id"
162
+ Ref:"language"."id" < "film"."language_id"
163
163
 
164
- Ref:"language"."id" <? "film"."original_language_id"
164
+ Ref:"language"."id" < "film"."original_language_id"
165
165
 
166
- Ref:"film"."id" <? "film_actor"."film_id"
166
+ Ref:"film"."id" < "film_actor"."film_id"
167
167
 
168
- Ref:"actor"."id" <? "film_actor"."actor_id"
168
+ Ref:"actor"."id" < "film_actor"."actor_id"
169
169
 
170
- Ref:"film"."id" <? "inventory"."film_id"
170
+ Ref:"film"."id" < "inventory"."film_id"
@@ -12,17 +12,17 @@ Table "products" {
12
12
  "name" nvarchar(255) [note: 'Product name']
13
13
  }
14
14
 
15
- Ref:"schemaA"."locations"."id" <? "schemaA"."products"."lid"
15
+ Ref:"schemaA"."locations"."id" < "schemaA"."products"."lid"
16
16
 
17
- Ref "FK_1":"schemaA"."locations"."id" <? "schemaA"."products"."lid2"
17
+ Ref "FK_1":"schemaA"."locations"."id" < "schemaA"."products"."lid2"
18
18
 
19
19
  Ref:"users"."id" < "ecommerce"."users"."id"
20
20
 
21
- Ref "name_optional":"users"."name" ?< "ecommerce"."users"."id"
21
+ Ref "name_optional":"users"."name" < "ecommerce"."users"."id"
22
22
 
23
- Ref:"ecommerce"."users"."id" <? "schemaA"."products"."name"
23
+ Ref:"ecommerce"."users"."id" < "schemaA"."products"."name"
24
24
 
25
- Ref:"users"."id" <? "schemaA"."locations"."name"
25
+ Ref:"users"."id" < "schemaA"."locations"."name"
26
26
 
27
27
  Table "ecommerce"."users" {
28
28
  "id" int [pk]
@@ -70,21 +70,21 @@ Table "orders4" {
70
70
  }
71
71
  }
72
72
 
73
- Ref "FK_1":"schemaA"."locations"."id" <? "schemaA"."products"."lid" [delete: cascade]
73
+ Ref "FK_1":"schemaA"."locations"."id" < "schemaA"."products"."lid" [delete: cascade]
74
74
 
75
- Ref:"schemaA"."products"."id" <? "orders"."pid"
75
+ Ref:"schemaA"."products"."id" < "orders"."pid"
76
76
 
77
- Ref:"schemaA"."products"."id" <? "orders2"."pid"
77
+ Ref:"schemaA"."products"."id" < "orders2"."pid"
78
78
 
79
- Ref "CFK_1":"orders".("id1", "id2") ?<? "orders2".("id1", "id2") [update: set null, delete: cascade]
79
+ Ref "CFK_1":"orders".("id1", "id2") < "orders2".("id1", "id2") [update: set null, delete: cascade]
80
80
 
81
81
  Ref:"users"."id" < "ecommerce"."users"."id"
82
82
 
83
- Ref "name_optional":"users"."name" ?< "ecommerce"."users"."id"
83
+ Ref "name_optional":"users"."name" < "ecommerce"."users"."id"
84
84
 
85
- Ref:"ecommerce"."users"."id" <? "schemaA"."products"."name"
85
+ Ref:"ecommerce"."users"."id" < "schemaA"."products"."name"
86
86
 
87
- Ref:"users"."id" <? "schemaA"."locations"."name"
87
+ Ref:"users"."id" < "schemaA"."locations"."name"
88
88
 
89
89
  Enum "ecommerce"."users_ejs_enum" {
90
90
  "created2"
@@ -56,19 +56,19 @@ Table "br_flight" {
56
56
  }
57
57
  }
58
58
 
59
- Ref "fk_1":"schemaA"."locations"."id" <? "schemaA"."products"."lid"
59
+ Ref "fk_1":"schemaA"."locations"."id" < "schemaA"."products"."lid"
60
60
 
61
61
  Ref:"users"."id" < "ecommerce"."users"."id"
62
62
 
63
- Ref "name_optional":"users"."name" ?< "ecommerce"."users"."id"
63
+ Ref "name_optional":"users"."name" < "ecommerce"."users"."id"
64
64
 
65
- Ref:"ecommerce"."users"."id" <? "schemaA"."products"."name"
65
+ Ref:"ecommerce"."users"."id" < "schemaA"."products"."name"
66
66
 
67
- Ref:"users"."id" <? "schemaA"."locations"."name"
67
+ Ref:"users"."id" < "schemaA"."locations"."name"
68
68
 
69
69
  Ref "fk_composite":"booking_reference".("reference_id", "cust_id") < "br_flight".("reference_id", "cust_id")
70
70
 
71
- Ref "fk_country_code":"countries"."code" <? "users"."country_code"
71
+ Ref "fk_country_code":"countries"."code" < "users"."country_code"
72
72
 
73
73
  Enum "schemaB"."gender" {
74
74
  "male"
@@ -223,3 +223,59 @@ undefined
223
223
 
224
224
  You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
225
225
 
226
+ 2026-07-03T05:21:23.160Z
227
+
228
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
229
+
230
+ 2026-07-03T08:51:05.472Z
231
+
232
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
233
+
234
+ 2026-07-03T08:52:42.551Z
235
+
236
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
237
+
238
+ 2026-07-03T10:23:27.075Z
239
+
240
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
241
+
242
+ 2026-07-06T03:00:24.464Z
243
+
244
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
245
+
246
+ 2026-07-06T03:05:10.877Z
247
+
248
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
249
+
250
+ 2026-07-06T03:34:52.755Z
251
+
252
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
253
+
254
+ 2026-07-06T03:59:40.602Z
255
+
256
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
257
+
258
+ 2026-07-06T04:53:49.099Z
259
+
260
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
261
+
262
+ 2026-07-06T05:26:55.175Z
263
+
264
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
265
+
266
+ 2026-07-06T05:32:02.832Z
267
+
268
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
269
+
270
+ 2026-07-06T09:40:27.721Z
271
+
272
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
273
+
274
+ 2026-07-06T09:53:36.858Z
275
+
276
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
277
+
278
+ 2026-07-06T10:06:29.950Z
279
+
280
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
281
+
@@ -220,3 +220,59 @@ undefined
220
220
 
221
221
  You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
222
222
 
223
+ 2026-07-03T05:21:24.884Z
224
+
225
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
226
+
227
+ 2026-07-03T08:51:07.002Z
228
+
229
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
230
+
231
+ 2026-07-03T08:52:44.106Z
232
+
233
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
234
+
235
+ 2026-07-03T10:23:28.769Z
236
+
237
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
238
+
239
+ 2026-07-06T03:00:25.964Z
240
+
241
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
242
+
243
+ 2026-07-06T03:05:12.424Z
244
+
245
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
246
+
247
+ 2026-07-06T03:34:54.251Z
248
+
249
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
250
+
251
+ 2026-07-06T03:59:42.095Z
252
+
253
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
254
+
255
+ 2026-07-06T04:53:50.612Z
256
+
257
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
258
+
259
+ 2026-07-06T05:26:56.659Z
260
+
261
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
262
+
263
+ 2026-07-06T05:32:04.268Z
264
+
265
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
266
+
267
+ 2026-07-06T09:40:29.224Z
268
+
269
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
270
+
271
+ 2026-07-06T09:53:38.476Z
272
+
273
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
274
+
275
+ 2026-07-06T10:06:31.541Z
276
+
277
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
278
+
@@ -216,3 +216,59 @@ undefined
216
216
 
217
217
  You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
218
218
 
219
+ 2026-07-03T05:21:26.498Z
220
+
221
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
222
+
223
+ 2026-07-03T08:51:08.423Z
224
+
225
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
226
+
227
+ 2026-07-03T08:52:45.565Z
228
+
229
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
230
+
231
+ 2026-07-03T10:23:30.387Z
232
+
233
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
234
+
235
+ 2026-07-06T03:00:27.417Z
236
+
237
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
238
+
239
+ 2026-07-06T03:05:13.828Z
240
+
241
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
242
+
243
+ 2026-07-06T03:34:55.638Z
244
+
245
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
246
+
247
+ 2026-07-06T03:59:43.571Z
248
+
249
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
250
+
251
+ 2026-07-06T04:53:52.021Z
252
+
253
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
254
+
255
+ 2026-07-06T05:26:58.069Z
256
+
257
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
258
+
259
+ 2026-07-06T05:32:05.597Z
260
+
261
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
262
+
263
+ 2026-07-06T09:40:30.653Z
264
+
265
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
266
+
267
+ 2026-07-06T09:53:39.955Z
268
+
269
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
270
+
271
+ 2026-07-06T10:06:33.100Z
272
+
273
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
274
+
package/lib/index.js CHANGED
@@ -39,7 +39,7 @@ let node_fs = require("node:fs");
39
39
  var package_default = {
40
40
  $schema: "https://json.schemastore.org/package",
41
41
  name: "@dbml/cli",
42
- version: "9.0.0-optional-ref.1",
42
+ version: "9.0.0-optional-ref.3",
43
43
  description: "",
44
44
  main: "lib/index.js",
45
45
  license: "Apache-2.0",
@@ -65,9 +65,9 @@ var package_default = {
65
65
  keywords: ["dbml", "dbml-cli"],
66
66
  dependencies: {
67
67
  "@babel/cli": "^7.21.0",
68
- "@dbml/connector": "^9.0.0-optional-ref.0",
69
- "@dbml/core": "^9.0.0-optional-ref.1",
70
- "@dbml/parse": "^9.0.0-optional-ref.0",
68
+ "@dbml/connector": "^9.0.0-optional-ref.2",
69
+ "@dbml/core": "^9.0.0-optional-ref.3",
70
+ "@dbml/parse": "^9.0.0-optional-ref.3",
71
71
  "bluebird": "^3.5.5",
72
72
  "chalk": "^2.4.2",
73
73
  "commander": "^2.20.0",
@@ -78,7 +78,7 @@ var package_default = {
78
78
  "strip-ansi": "^5.2.0",
79
79
  "winston": "^3.2.1"
80
80
  },
81
- gitHead: "95687af04506257d9aea15a593845364eae8dd72",
81
+ gitHead: "eee148fa544e4826e635b4173e95fb80159b9ce5",
82
82
  engines: { "node": ">=18" }
83
83
  };
84
84
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@dbml/cli",
4
- "version": "9.0.0-optional-ref.1",
4
+ "version": "9.0.0-optional-ref.3",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "license": "Apache-2.0",
@@ -32,9 +32,9 @@
32
32
  ],
33
33
  "dependencies": {
34
34
  "@babel/cli": "^7.21.0",
35
- "@dbml/connector": "^9.0.0-optional-ref.0",
36
- "@dbml/core": "^9.0.0-optional-ref.1",
37
- "@dbml/parse": "^9.0.0-optional-ref.0",
35
+ "@dbml/connector": "^9.0.0-optional-ref.2",
36
+ "@dbml/core": "^9.0.0-optional-ref.3",
37
+ "@dbml/parse": "^9.0.0-optional-ref.3",
38
38
  "bluebird": "^3.5.5",
39
39
  "chalk": "^2.4.2",
40
40
  "commander": "^2.20.0",
@@ -45,7 +45,7 @@
45
45
  "strip-ansi": "^5.2.0",
46
46
  "winston": "^3.2.1"
47
47
  },
48
- "gitHead": "95687af04506257d9aea15a593845364eae8dd72",
48
+ "gitHead": "eee148fa544e4826e635b4173e95fb80159b9ce5",
49
49
  "engines": {
50
50
  "node": ">=18"
51
51
  }