@dbml/cli 9.0.0 → 9.1.0
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.
- package/__tests__/db2dbml/mssql/dbml-error.log +54 -849
- package/__tests__/db2dbml/mysql/dbml-error.log +10 -1100
- package/__tests__/db2dbml/oracle/dbml-error.log +69 -1189
- package/__tests__/db2dbml/postgres/dbml-error.log +25 -592
- package/__tests__/dbml2sql/filename --mysql --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filename --oracle --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filename --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filename --postgres --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filenames --mysql --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filenames --oracle --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filenames --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filenames --postgres --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/multifile error entry-syntax-error/dbml-error.log +8 -275
- package/__tests__/dbml2sql/multifile error entry-syntax-error/stdout.txt +1 -1
- package/__tests__/dbml2sql/multifile error import-not-found/dbml-error.log +5117 -30375
- package/__tests__/dbml2sql/multifile error imported-syntax-error/dbml-error.log +8 -206
- package/__tests__/dbml2sql/multifile error imported-syntax-error/stdout.txt +1 -1
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/dbml-error.log +5 -169
- package/__tests__/dbml2sql/multiple_schema_mssql/dbml-error.log +0 -30
- package/__tests__/dbml2sql/multiple_schema_mssql/out-files/multiple_schema.out.sql +1 -1
- package/__tests__/dbml2sql/multiple_schema_mysql/dbml-error.log +0 -30
- package/__tests__/dbml2sql/multiple_schema_mysql/out-files/multiple_schema.out.sql +1 -1
- package/__tests__/dbml2sql/multiple_schema_oracle/out-files/multiple_schema.out.sql +1 -1
- package/__tests__/dbml2sql/multiple_schema_pg/dbml-error.log +0 -30
- package/__tests__/dbml2sql/multiple_schema_pg/out-files/multiple_schema.out.sql +1 -1
- package/__tests__/dbml2sql/syntax-error/dbml-error.log +8 -422
- package/__tests__/dbml2sql/syntax-error/stdout.txt +1 -1
- package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/dbml-error.log +5 -339
- package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/dbml-error.log +5 -339
- package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/dbml-error.log +5 -339
- package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/dbml-error.log +5 -335
- package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/dbml-error.log +5 -335
- package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/dbml-error.log +5 -335
- package/__tests__/sql2dbml/filename --mysql --out-file/out-files/schema.dbml +6 -6
- package/__tests__/sql2dbml/filename --oracle --out-file/out-files/schema.dbml +12 -12
- package/__tests__/sql2dbml/filename --out-file/out-files/schema.dbml +6 -6
- package/__tests__/sql2dbml/filename --postgres --out-file/out-files/schema.dbml +6 -6
- package/__tests__/sql2dbml/filenames --mysql --out-file/out-files/schema.dbml +15 -15
- package/__tests__/sql2dbml/filenames --out-file/out-files/schema.dbml +15 -15
- package/__tests__/sql2dbml/filenames --postgres --out-file/out-files/schema.dbml +15 -15
- package/__tests__/sql2dbml/multiple_schema_mssql/out-files/multiple_schema.out.dbml +1 -1
- package/__tests__/sql2dbml/multiple_schema_mysql/out-files/multiple_schema.out.dbml +8 -8
- package/__tests__/sql2dbml/multiple_schema_pg/out-files/multiple_schema.out.dbml +7 -7
- package/__tests__/sql2dbml/syntax-error/dbml-error.log +5 -310
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +5 -307
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +5 -303
- package/lib/index.js +7 -6
- package/package.json +7 -6
- package/dbml-error.log +0 -3
|
@@ -1,318 +1,20 @@
|
|
|
1
|
-
2026-
|
|
2
|
-
undefined
|
|
3
|
-
|
|
4
|
-
2026-04-11T10:19:47.074Z
|
|
5
|
-
undefined
|
|
6
|
-
|
|
7
|
-
2026-04-11T10:53:31.236Z
|
|
8
|
-
undefined
|
|
9
|
-
|
|
10
|
-
2026-04-11T10:55:59.352Z
|
|
11
|
-
undefined
|
|
12
|
-
|
|
13
|
-
2026-04-11T11:14:08.082Z
|
|
14
|
-
undefined
|
|
15
|
-
|
|
16
|
-
2026-04-11T15:33:24.319Z
|
|
17
|
-
undefined
|
|
18
|
-
|
|
19
|
-
2026-04-17T08:28:12.644Z
|
|
20
|
-
undefined
|
|
21
|
-
|
|
22
|
-
2026-04-17T08:30:04.522Z
|
|
23
|
-
undefined
|
|
24
|
-
|
|
25
|
-
2026-04-21T10:03:46.911Z
|
|
26
|
-
undefined
|
|
27
|
-
|
|
28
|
-
2026-04-25T14:23:24.290Z
|
|
29
|
-
undefined
|
|
30
|
-
|
|
31
|
-
2026-04-25T14:24:44.457Z
|
|
32
|
-
undefined
|
|
33
|
-
|
|
34
|
-
2026-04-25T14:26:03.853Z
|
|
35
|
-
undefined
|
|
36
|
-
|
|
37
|
-
2026-04-25T14:27:23.238Z
|
|
38
|
-
undefined
|
|
39
|
-
|
|
40
|
-
2026-04-25T14:28:44.260Z
|
|
41
|
-
undefined
|
|
42
|
-
|
|
43
|
-
2026-04-25T14:39:04.973Z
|
|
44
|
-
undefined
|
|
45
|
-
|
|
46
|
-
2026-04-25T14:42:09.694Z
|
|
47
|
-
undefined
|
|
48
|
-
|
|
49
|
-
2026-04-25T14:46:18.763Z
|
|
50
|
-
undefined
|
|
51
|
-
|
|
52
|
-
2026-04-25T14:49:45.147Z
|
|
53
|
-
undefined
|
|
54
|
-
|
|
55
|
-
2026-04-25T14:52:17.585Z
|
|
56
|
-
undefined
|
|
57
|
-
|
|
58
|
-
2026-04-25T14:54:06.309Z
|
|
59
|
-
undefined
|
|
60
|
-
|
|
61
|
-
2026-04-25T14:55:33.033Z
|
|
62
|
-
undefined
|
|
63
|
-
|
|
64
|
-
2026-04-25T14:57:29.835Z
|
|
65
|
-
undefined
|
|
66
|
-
|
|
67
|
-
2026-04-25T14:59:18.940Z
|
|
68
|
-
undefined
|
|
69
|
-
|
|
70
|
-
2026-04-25T15:18:52.479Z
|
|
71
|
-
undefined
|
|
72
|
-
|
|
73
|
-
2026-04-25T15:45:10.950Z
|
|
74
|
-
undefined
|
|
75
|
-
|
|
76
|
-
2026-04-30T02:24:16.181Z
|
|
77
|
-
undefined
|
|
78
|
-
|
|
79
|
-
2026-04-30T02:27:03.580Z
|
|
80
|
-
undefined
|
|
81
|
-
|
|
82
|
-
2026-05-03T12:50:13.032Z
|
|
83
|
-
undefined
|
|
84
|
-
|
|
85
|
-
2026-05-03T12:55:31.060Z
|
|
86
|
-
undefined
|
|
87
|
-
|
|
88
|
-
2026-05-03T13:24:02.658Z
|
|
89
|
-
undefined
|
|
90
|
-
|
|
91
|
-
2026-05-04T15:14:09.165Z
|
|
92
|
-
undefined
|
|
93
|
-
|
|
94
|
-
2026-05-04T17:05:56.541Z
|
|
95
|
-
undefined
|
|
96
|
-
|
|
97
|
-
2026-05-04T17:07:08.426Z
|
|
98
|
-
undefined
|
|
99
|
-
|
|
100
|
-
2026-05-06T08:11:35.478Z
|
|
101
|
-
|
|
102
|
-
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")
|
|
103
|
-
|
|
104
|
-
2026-05-06T08:14:31.766Z
|
|
105
|
-
|
|
106
|
-
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")
|
|
107
|
-
|
|
108
|
-
2026-05-06T08:18:06.210Z
|
|
109
|
-
undefined
|
|
110
|
-
|
|
111
|
-
2026-05-06T10:17:42.282Z
|
|
112
|
-
|
|
113
|
-
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")
|
|
114
|
-
|
|
115
|
-
2026-05-07T08:41:24.076Z
|
|
116
|
-
|
|
117
|
-
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")
|
|
118
|
-
|
|
119
|
-
2026-05-07T08:43:21.697Z
|
|
120
|
-
|
|
121
|
-
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")
|
|
122
|
-
|
|
123
|
-
2026-05-12T10:00:50.634Z
|
|
124
|
-
|
|
125
|
-
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")
|
|
126
|
-
|
|
127
|
-
2026-05-14T03:42:31.059Z
|
|
128
|
-
|
|
129
|
-
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")
|
|
130
|
-
|
|
131
|
-
2026-05-14T03:44:37.478Z
|
|
132
|
-
|
|
133
|
-
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")
|
|
134
|
-
|
|
135
|
-
2026-05-14T03:45:52.813Z
|
|
136
|
-
|
|
137
|
-
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")
|
|
138
|
-
|
|
139
|
-
2026-05-14T08:28:58.786Z
|
|
140
|
-
|
|
141
|
-
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")
|
|
142
|
-
|
|
143
|
-
2026-05-14T08:30:23.569Z
|
|
144
|
-
|
|
145
|
-
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")
|
|
146
|
-
|
|
147
|
-
2026-05-14T08:37:11.577Z
|
|
148
|
-
|
|
149
|
-
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")
|
|
150
|
-
|
|
151
|
-
2026-05-14T08:48:22.035Z
|
|
152
|
-
|
|
153
|
-
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")
|
|
154
|
-
|
|
155
|
-
2026-05-14T15:05:05.577Z
|
|
156
|
-
|
|
157
|
-
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")
|
|
158
|
-
|
|
159
|
-
2026-06-01T03:38:22.087Z
|
|
160
|
-
|
|
161
|
-
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")
|
|
162
|
-
|
|
163
|
-
2026-06-01T03:39:40.845Z
|
|
164
|
-
|
|
165
|
-
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")
|
|
166
|
-
|
|
167
|
-
2026-06-01T04:54:22.032Z
|
|
168
|
-
|
|
169
|
-
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")
|
|
170
|
-
|
|
171
|
-
2026-07-01T10:22:55.876Z
|
|
172
|
-
|
|
173
|
-
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")
|
|
174
|
-
|
|
175
|
-
2026-07-01T10:24:34.924Z
|
|
176
|
-
|
|
177
|
-
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")
|
|
178
|
-
|
|
179
|
-
2026-07-01T10:26:53.668Z
|
|
180
|
-
|
|
181
|
-
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")
|
|
182
|
-
|
|
183
|
-
2026-07-01T10:28:45.199Z
|
|
184
|
-
|
|
185
|
-
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")
|
|
186
|
-
|
|
187
|
-
2026-07-01T10:30:18.059Z
|
|
188
|
-
|
|
189
|
-
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")
|
|
190
|
-
|
|
191
|
-
2026-07-01T10:32:03.594Z
|
|
192
|
-
|
|
193
|
-
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")
|
|
194
|
-
|
|
195
|
-
2026-07-01T10:37:33.682Z
|
|
196
|
-
|
|
197
|
-
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")
|
|
198
|
-
|
|
199
|
-
2026-07-01T10:39:09.289Z
|
|
200
|
-
|
|
201
|
-
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")
|
|
202
|
-
|
|
203
|
-
2026-07-01T10:40:26.517Z
|
|
204
|
-
|
|
205
|
-
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")
|
|
206
|
-
|
|
207
|
-
2026-07-01T10:41:56.635Z
|
|
208
|
-
|
|
209
|
-
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")
|
|
210
|
-
|
|
211
|
-
2026-07-01T10:43:29.769Z
|
|
212
|
-
|
|
213
|
-
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")
|
|
214
|
-
|
|
215
|
-
2026-07-01T10:53:34.912Z
|
|
216
|
-
|
|
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
|
-
|
|
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
|
-
|
|
275
|
-
2026-07-08T04:47:04.595Z
|
|
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
|
-
|
|
279
|
-
2026-07-08T04:47:54.063Z
|
|
280
|
-
|
|
281
|
-
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")
|
|
282
|
-
|
|
283
|
-
2026-07-08T04:48:47.816Z
|
|
284
|
-
|
|
285
|
-
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")
|
|
286
|
-
|
|
287
|
-
2026-07-08T04:51:13.801Z
|
|
288
|
-
|
|
289
|
-
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")
|
|
290
|
-
|
|
291
|
-
2026-07-08T04:52:01.871Z
|
|
292
|
-
|
|
293
|
-
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")
|
|
294
|
-
|
|
295
|
-
2026-07-13T09:30:26.602Z
|
|
296
|
-
|
|
297
|
-
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")
|
|
298
|
-
|
|
299
|
-
2026-07-15T09:01:16.118Z
|
|
1
|
+
2026-06-15T10:58:17.125Z
|
|
300
2
|
|
|
301
3
|
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")
|
|
302
4
|
|
|
303
|
-
2026-
|
|
5
|
+
2026-06-15T10:59:19.725Z
|
|
304
6
|
|
|
305
7
|
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")
|
|
306
8
|
|
|
307
|
-
2026-07-
|
|
9
|
+
2026-07-22T11:04:06.639Z
|
|
308
10
|
|
|
309
11
|
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")
|
|
310
12
|
|
|
311
|
-
2026-07-
|
|
13
|
+
2026-07-22T11:07:39.465Z
|
|
312
14
|
|
|
313
15
|
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")
|
|
314
16
|
|
|
315
|
-
2026-07-
|
|
17
|
+
2026-07-22T11:10:21.392Z
|
|
316
18
|
|
|
317
19
|
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")
|
|
318
20
|
|
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.
|
|
42
|
+
version: "9.1.0",
|
|
43
43
|
description: "",
|
|
44
44
|
main: "lib/index.js",
|
|
45
45
|
license: "Apache-2.0",
|
|
@@ -50,7 +50,8 @@ var package_default = {
|
|
|
50
50
|
"build": "rm -rf ./lib && tsc --noEmit && vite build",
|
|
51
51
|
"dev": "vite build --watch",
|
|
52
52
|
"prepublish": "npm run build",
|
|
53
|
-
"lint": "eslint .",
|
|
53
|
+
"lint": "eslint $(git diff --relative --name-only --diff-filter=ACMRTUXB master -- . | grep -E '\\.(js|ts)$')",
|
|
54
|
+
"lint:all": "eslint .",
|
|
54
55
|
"lint:fix": "eslint --fix ."
|
|
55
56
|
},
|
|
56
57
|
publishConfig: { "access": "public" },
|
|
@@ -65,9 +66,9 @@ var package_default = {
|
|
|
65
66
|
keywords: ["dbml", "dbml-cli"],
|
|
66
67
|
dependencies: {
|
|
67
68
|
"@babel/cli": "^7.21.0",
|
|
68
|
-
"@dbml/connector": "^9.
|
|
69
|
-
"@dbml/core": "^9.
|
|
70
|
-
"@dbml/parse": "^9.
|
|
69
|
+
"@dbml/connector": "^9.1.0",
|
|
70
|
+
"@dbml/core": "^9.1.0",
|
|
71
|
+
"@dbml/parse": "^9.1.0",
|
|
71
72
|
"bluebird": "^3.5.5",
|
|
72
73
|
"chalk": "^2.4.2",
|
|
73
74
|
"commander": "^2.20.0",
|
|
@@ -78,7 +79,7 @@ var package_default = {
|
|
|
78
79
|
"strip-ansi": "^5.2.0",
|
|
79
80
|
"winston": "^3.2.1"
|
|
80
81
|
},
|
|
81
|
-
gitHead: "
|
|
82
|
+
gitHead: "584295afbc97b0dd964ef65d425509043fdb8b6b",
|
|
82
83
|
engines: { "node": ">=18" }
|
|
83
84
|
};
|
|
84
85
|
//#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.
|
|
4
|
+
"version": "9.1.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"build": "rm -rf ./lib && tsc --noEmit && vite build",
|
|
13
13
|
"dev": "vite build --watch",
|
|
14
14
|
"prepublish": "npm run build",
|
|
15
|
-
"lint": "eslint .",
|
|
15
|
+
"lint": "eslint $(git diff --relative --name-only --diff-filter=ACMRTUXB master -- . | grep -E '\\.(js|ts)$')",
|
|
16
|
+
"lint:all": "eslint .",
|
|
16
17
|
"lint:fix": "eslint --fix ."
|
|
17
18
|
},
|
|
18
19
|
"publishConfig": {
|
|
@@ -32,9 +33,9 @@
|
|
|
32
33
|
],
|
|
33
34
|
"dependencies": {
|
|
34
35
|
"@babel/cli": "^7.21.0",
|
|
35
|
-
"@dbml/connector": "^9.
|
|
36
|
-
"@dbml/core": "^9.
|
|
37
|
-
"@dbml/parse": "^9.
|
|
36
|
+
"@dbml/connector": "^9.1.0",
|
|
37
|
+
"@dbml/core": "^9.1.0",
|
|
38
|
+
"@dbml/parse": "^9.1.0",
|
|
38
39
|
"bluebird": "^3.5.5",
|
|
39
40
|
"chalk": "^2.4.2",
|
|
40
41
|
"commander": "^2.20.0",
|
|
@@ -45,7 +46,7 @@
|
|
|
45
46
|
"strip-ansi": "^5.2.0",
|
|
46
47
|
"winston": "^3.2.1"
|
|
47
48
|
},
|
|
48
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "584295afbc97b0dd964ef65d425509043fdb8b6b",
|
|
49
50
|
"engines": {
|
|
50
51
|
"node": ">=18"
|
|
51
52
|
}
|
package/dbml-error.log
DELETED