@dbml/cli 6.3.0-alpha.8 → 6.4.0-alpha.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.
Files changed (36) hide show
  1. package/__tests__/db2dbml/mssql/dbml-error.log +32 -134
  2. package/__tests__/db2dbml/mysql/dbml-error.log +4 -124
  3. package/__tests__/db2dbml/oracle/dbml-error.log +84 -189
  4. package/__tests__/db2dbml/oracle/out-files/schema.dbml +419 -0
  5. package/__tests__/db2dbml/postgres/dbml-error.log +18 -88
  6. package/__tests__/dbml2sql/filename --mysql --out-file/out-files/schema.sql +1 -1
  7. package/__tests__/dbml2sql/filename --oracle --out-file/out-files/schema.sql +7 -7
  8. package/__tests__/dbml2sql/filename --out-file/out-files/schema.sql +7 -7
  9. package/__tests__/dbml2sql/filename --postgres --out-file/out-files/schema.sql +7 -7
  10. package/__tests__/dbml2sql/filenames --mysql --out-file/out-files/schema.sql +1 -1
  11. package/__tests__/dbml2sql/filenames --oracle --out-file/out-files/schema.sql +16 -16
  12. package/__tests__/dbml2sql/filenames --out-file/out-files/schema.sql +16 -16
  13. package/__tests__/dbml2sql/filenames --postgres --out-file/out-files/schema.sql +16 -16
  14. package/__tests__/dbml2sql/multiple_schema_mssql/out-files/multiple_schema.out.sql +1 -1
  15. package/__tests__/dbml2sql/multiple_schema_mysql/out-files/multiple_schema.out.sql +1 -1
  16. package/__tests__/dbml2sql/multiple_schema_oracle/out-files/multiple_schema.out.sql +10 -10
  17. package/__tests__/dbml2sql/multiple_schema_pg/out-files/multiple_schema.out.sql +5 -5
  18. package/__tests__/dbml2sql/syntax-error/dbml-error.log +5 -35
  19. package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/dbml-error.log +21 -15
  20. package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/out-files/schema.dbml +0 -0
  21. package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/dbml-error.log +21 -15
  22. package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/out-files/schema.dbml +0 -0
  23. package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/dbml-error.log +21 -15
  24. package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/out-files/schema.dbml +0 -0
  25. package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/dbml-error.log +21 -15
  26. package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/out-files/schema.dbml +0 -0
  27. package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/dbml-error.log +21 -15
  28. package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/out-files/schema.dbml +0 -0
  29. package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/dbml-error.log +9 -27
  30. package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/out-files/schema.dbml +0 -0
  31. package/__tests__/sql2dbml/filename --snowflake stdout/stdout.txt +1 -1
  32. package/__tests__/sql2dbml/syntax-error/dbml-error.log +23 -14
  33. package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +23 -14
  34. package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +23 -14
  35. package/lib/index.js +4 -4
  36. package/package.json +4 -4
@@ -1,45 +1,51 @@
1
- 2026-02-04T14:15:05.553Z
1
+ 2025-11-18T08:12:33.998Z
2
2
  undefined
3
3
 
4
- 2026-02-05T04:33:35.690Z
4
+ 2025-11-18T08:14:38.516Z
5
5
  undefined
6
6
 
7
- 2026-02-12T07:20:23.789Z
7
+ 2025-11-18T08:23:44.339Z
8
8
  undefined
9
9
 
10
- 2026-02-12T07:21:42.791Z
10
+ 2025-11-18T08:28:52.015Z
11
11
  undefined
12
12
 
13
- 2026-02-12T07:22:59.867Z
13
+ 2025-11-18T08:38:06.688Z
14
14
  undefined
15
15
 
16
- 2026-02-12T07:24:49.513Z
16
+ 2025-11-18T08:42:34.475Z
17
17
  undefined
18
18
 
19
- 2026-02-12T07:26:32.796Z
19
+ 2025-11-18T08:43:28.361Z
20
20
  undefined
21
21
 
22
- 2026-02-12T07:42:26.128Z
22
+ 2025-11-18T08:47:00.981Z
23
23
  undefined
24
24
 
25
- 2026-02-12T07:43:46.537Z
25
+ 2025-11-18T08:48:25.998Z
26
26
  undefined
27
27
 
28
- 2026-02-12T07:45:07.207Z
28
+ 2025-11-18T08:50:14.809Z
29
29
  undefined
30
30
 
31
- 2026-02-12T08:36:40.814Z
31
+ 2025-11-18T08:52:52.343Z
32
32
  undefined
33
33
 
34
- 2026-02-12T09:15:45.978Z
34
+ 2025-11-18T08:55:20.353Z
35
35
  undefined
36
36
 
37
- 2026-02-12T09:20:44.949Z
37
+ 2025-11-18T09:00:14.092Z
38
38
  undefined
39
39
 
40
- 2026-02-12T09:25:40.537Z
40
+ 2025-11-18T09:03:51.581Z
41
41
  undefined
42
42
 
43
- 2026-02-12T09:27:33.011Z
43
+ 2025-11-18T09:10:28.798Z
44
+ undefined
45
+
46
+ 2025-11-18T09:11:51.755Z
47
+ undefined
48
+
49
+ 2025-11-27T14:14:36.530Z
44
50
  undefined
45
51
 
@@ -1,45 +1,27 @@
1
- 2026-02-04T14:15:07.054Z
1
+ 2025-11-18T08:48:27.204Z
2
2
  undefined
3
3
 
4
- 2026-02-05T04:33:37.013Z
4
+ 2025-11-18T08:50:16.039Z
5
5
  undefined
6
6
 
7
- 2026-02-12T07:20:25.166Z
7
+ 2025-11-18T08:52:53.618Z
8
8
  undefined
9
9
 
10
- 2026-02-12T07:21:44.190Z
10
+ 2025-11-18T08:55:21.561Z
11
11
  undefined
12
12
 
13
- 2026-02-12T07:23:01.256Z
13
+ 2025-11-18T09:00:15.407Z
14
14
  undefined
15
15
 
16
- 2026-02-12T07:24:51.003Z
16
+ 2025-11-18T09:03:52.793Z
17
17
  undefined
18
18
 
19
- 2026-02-12T07:26:34.189Z
19
+ 2025-11-18T09:10:30.048Z
20
20
  undefined
21
21
 
22
- 2026-02-12T07:42:27.457Z
22
+ 2025-11-18T09:11:52.975Z
23
23
  undefined
24
24
 
25
- 2026-02-12T07:43:47.963Z
26
- undefined
27
-
28
- 2026-02-12T07:45:08.572Z
29
- undefined
30
-
31
- 2026-02-12T08:36:42.239Z
32
- undefined
33
-
34
- 2026-02-12T09:15:47.537Z
35
- undefined
36
-
37
- 2026-02-12T09:20:46.392Z
38
- undefined
39
-
40
- 2026-02-12T09:25:41.928Z
41
- undefined
42
-
43
- 2026-02-12T09:27:34.677Z
25
+ 2025-11-27T14:14:37.756Z
44
26
  undefined
45
27
 
@@ -6,7 +6,7 @@ Table "HP_TEST"."CUSTOMERS" {
6
6
  "SECOND_EMAIL" VARCHAR(100)
7
7
  "UNIQUE_NAME" VARCHAR(100) [unique, not null, default: `CONCAT(FIRST_NAME, LAST_NAME, EMAIL)`]
8
8
  "IS_VIP" BOOLEAN [default: FALSE]
9
- "IS_SOMETHING" BOOLEAN [default: null]
9
+ "IS_SOMETHING" BOOLEAN
10
10
  "CREATED_AT" TIMESTAMP_NTZ(9) [default: `CURRENT_TIMESTAMP()`]
11
11
 
12
12
  Indexes {
@@ -1,42 +1,51 @@
1
- 2026-02-04T14:15:41.246Z
1
+ 2025-11-06T03:16:04.647Z
2
2
  undefined
3
3
 
4
- 2026-02-05T04:34:06.506Z
4
+ 2025-11-18T08:13:05.436Z
5
5
  undefined
6
6
 
7
- 2026-02-12T07:20:55.443Z
7
+ 2025-11-18T08:15:10.563Z
8
8
  undefined
9
9
 
10
- 2026-02-12T07:22:14.929Z
10
+ 2025-11-18T08:24:16.816Z
11
11
  undefined
12
12
 
13
- 2026-02-12T07:23:31.811Z
13
+ 2025-11-18T08:29:24.356Z
14
14
  undefined
15
15
 
16
- 2026-02-12T07:25:24.222Z
16
+ 2025-11-18T08:38:40.637Z
17
17
  undefined
18
18
 
19
- 2026-02-12T07:27:04.839Z
19
+ 2025-11-18T08:43:07.658Z
20
20
  undefined
21
21
 
22
- 2026-02-12T07:42:59.186Z
22
+ 2025-11-18T08:43:59.584Z
23
23
  undefined
24
24
 
25
- 2026-02-12T07:44:20.113Z
25
+ 2025-11-18T08:47:32.836Z
26
26
  undefined
27
27
 
28
- 2026-02-12T07:45:39.827Z
28
+ 2025-11-18T08:49:00.343Z
29
29
  undefined
30
30
 
31
- 2026-02-12T08:37:12.252Z
31
+ 2025-11-18T08:50:48.052Z
32
32
  undefined
33
33
 
34
- 2026-02-12T09:16:18.429Z
34
+ 2025-11-18T08:53:25.297Z
35
35
  undefined
36
36
 
37
- 2026-02-12T09:21:16.028Z
37
+ 2025-11-18T09:00:46.751Z
38
38
  undefined
39
39
 
40
- 2026-02-12T09:26:11.035Z
40
+ 2025-11-18T09:04:25.496Z
41
+ undefined
42
+
43
+ 2025-11-18T09:11:01.383Z
44
+ undefined
45
+
46
+ 2025-11-18T09:12:25.634Z
47
+ undefined
48
+
49
+ 2025-11-27T14:15:09.494Z
41
50
  undefined
42
51
 
@@ -1,42 +1,51 @@
1
- 2026-02-04T14:15:42.837Z
1
+ 2025-11-06T03:16:05.656Z
2
2
  undefined
3
3
 
4
- 2026-02-05T04:34:07.891Z
4
+ 2025-11-18T08:13:06.818Z
5
5
  undefined
6
6
 
7
- 2026-02-12T07:20:56.995Z
7
+ 2025-11-18T08:15:11.950Z
8
8
  undefined
9
9
 
10
- 2026-02-12T07:22:16.426Z
10
+ 2025-11-18T08:24:18.153Z
11
11
  undefined
12
12
 
13
- 2026-02-12T07:23:33.328Z
13
+ 2025-11-18T08:29:25.741Z
14
14
  undefined
15
15
 
16
- 2026-02-12T07:25:25.762Z
16
+ 2025-11-18T08:38:41.996Z
17
17
  undefined
18
18
 
19
- 2026-02-12T07:27:06.358Z
19
+ 2025-11-18T08:43:08.963Z
20
20
  undefined
21
21
 
22
- 2026-02-12T07:43:00.672Z
22
+ 2025-11-18T08:44:00.740Z
23
23
  undefined
24
24
 
25
- 2026-02-12T07:44:21.667Z
25
+ 2025-11-18T08:47:34.240Z
26
26
  undefined
27
27
 
28
- 2026-02-12T07:45:41.358Z
28
+ 2025-11-18T08:49:01.829Z
29
29
  undefined
30
30
 
31
- 2026-02-12T08:37:13.715Z
31
+ 2025-11-18T08:50:49.395Z
32
32
  undefined
33
33
 
34
- 2026-02-12T09:16:19.938Z
34
+ 2025-11-18T08:53:26.784Z
35
35
  undefined
36
36
 
37
- 2026-02-12T09:21:17.446Z
37
+ 2025-11-18T09:00:48.153Z
38
38
  undefined
39
39
 
40
- 2026-02-12T09:26:12.550Z
40
+ 2025-11-18T09:04:26.928Z
41
+ undefined
42
+
43
+ 2025-11-18T09:11:02.751Z
44
+ undefined
45
+
46
+ 2025-11-18T09:12:26.991Z
47
+ undefined
48
+
49
+ 2025-11-27T14:15:10.912Z
41
50
  undefined
42
51
 
@@ -1,42 +1,51 @@
1
- 2026-02-04T14:15:44.338Z
1
+ 2025-11-06T03:16:06.556Z
2
2
  undefined
3
3
 
4
- 2026-02-05T04:34:09.152Z
4
+ 2025-11-18T08:13:08.010Z
5
5
  undefined
6
6
 
7
- 2026-02-12T07:20:58.369Z
7
+ 2025-11-18T08:15:13.192Z
8
8
  undefined
9
9
 
10
- 2026-02-12T07:22:17.816Z
10
+ 2025-11-18T08:24:19.338Z
11
11
  undefined
12
12
 
13
- 2026-02-12T07:23:34.768Z
13
+ 2025-11-18T08:29:27.033Z
14
14
  undefined
15
15
 
16
- 2026-02-12T07:25:27.171Z
16
+ 2025-11-18T08:38:43.240Z
17
17
  undefined
18
18
 
19
- 2026-02-12T07:27:07.772Z
19
+ 2025-11-18T08:43:10.230Z
20
20
  undefined
21
21
 
22
- 2026-02-12T07:43:02.080Z
22
+ 2025-11-18T08:44:01.781Z
23
23
  undefined
24
24
 
25
- 2026-02-12T07:44:23.143Z
25
+ 2025-11-18T08:47:35.442Z
26
26
  undefined
27
27
 
28
- 2026-02-12T07:45:42.773Z
28
+ 2025-11-18T08:49:03.205Z
29
29
  undefined
30
30
 
31
- 2026-02-12T08:37:15.091Z
31
+ 2025-11-18T08:50:50.561Z
32
32
  undefined
33
33
 
34
- 2026-02-12T09:16:21.307Z
34
+ 2025-11-18T08:53:27.983Z
35
35
  undefined
36
36
 
37
- 2026-02-12T09:21:18.797Z
37
+ 2025-11-18T09:00:49.327Z
38
38
  undefined
39
39
 
40
- 2026-02-12T09:26:13.938Z
40
+ 2025-11-18T09:04:28.191Z
41
+ undefined
42
+
43
+ 2025-11-18T09:11:03.998Z
44
+ undefined
45
+
46
+ 2025-11-18T09:12:28.214Z
47
+ undefined
48
+
49
+ 2025-11-27T14:15:12.145Z
41
50
  undefined
42
51
 
package/lib/index.js CHANGED
@@ -1191,7 +1191,7 @@ async function connectionHandler(program$1) {
1191
1191
  }
1192
1192
  const $schema = "https://json.schemastore.org/package";
1193
1193
  const name = "@dbml/cli";
1194
- const version = "6.3.0-alpha.8";
1194
+ const version = "6.4.0-alpha.0";
1195
1195
  const description = "";
1196
1196
  const main = "lib/index.js";
1197
1197
  const license = "Apache-2.0";
@@ -1217,8 +1217,8 @@ const repository = "https://github.com/holistics/dbml/tree/master/packages/dbml-
1217
1217
  const keywords = ["dbml", "dbml-cli"];
1218
1218
  const dependencies = {
1219
1219
  "@babel/cli": "^7.21.0",
1220
- "@dbml/connector": "^6.3.0-alpha.1",
1221
- "@dbml/core": "^6.3.0-alpha.8",
1220
+ "@dbml/connector": "^6.4.0-alpha.0",
1221
+ "@dbml/core": "^6.4.0-alpha.0",
1222
1222
  "bluebird": "^3.5.5",
1223
1223
  "chalk": "^2.4.2",
1224
1224
  "commander": "^2.20.0",
@@ -1229,7 +1229,7 @@ const dependencies = {
1229
1229
  "strip-ansi": "^5.2.0",
1230
1230
  "winston": "^3.2.1"
1231
1231
  };
1232
- const gitHead = "16a05e460e4b443fb8092d37d36f9253259b544a";
1232
+ const gitHead = "ba26cc72483183193335e053d122c28d0aa13575";
1233
1233
  const engines = { "node": ">=18" };
1234
1234
  var package_default = {
1235
1235
  $schema,
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": "6.3.0-alpha.8",
4
+ "version": "6.4.0-alpha.0",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "license": "Apache-2.0",
@@ -32,8 +32,8 @@
32
32
  ],
33
33
  "dependencies": {
34
34
  "@babel/cli": "^7.21.0",
35
- "@dbml/connector": "^6.3.0-alpha.1",
36
- "@dbml/core": "^6.3.0-alpha.8",
35
+ "@dbml/connector": "^6.4.0-alpha.0",
36
+ "@dbml/core": "^6.4.0-alpha.0",
37
37
  "bluebird": "^3.5.5",
38
38
  "chalk": "^2.4.2",
39
39
  "commander": "^2.20.0",
@@ -44,7 +44,7 @@
44
44
  "strip-ansi": "^5.2.0",
45
45
  "winston": "^3.2.1"
46
46
  },
47
- "gitHead": "16a05e460e4b443fb8092d37d36f9253259b544a",
47
+ "gitHead": "ba26cc72483183193335e053d122c28d0aa13575",
48
48
  "engines": {
49
49
  "node": ">=18"
50
50
  }