@dbml/cli 9.0.0-alpha.6 → 9.0.0-alpha.8
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__/sql2dbml/custom-error-alter-table-column-not-found --oracle/dbml-error.log +4 -0
- package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/dbml-error.log +4 -0
- package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/dbml-error.log +4 -0
- package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/dbml-error.log +4 -0
- package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/dbml-error.log +4 -0
- package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/dbml-error.log +4 -0
- package/__tests__/sql2dbml/syntax-error/dbml-error.log +4 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +4 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +4 -0
- package/lib/index.js +4 -4
- package/package.json +4 -4
package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/dbml-error.log
CHANGED
|
@@ -324,3 +324,7 @@ undefined
|
|
|
324
324
|
|
|
325
325
|
You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
|
|
326
326
|
|
|
327
|
+
2026-07-13T09:29:45.763Z
|
|
328
|
+
|
|
329
|
+
You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
|
|
330
|
+
|
package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/dbml-error.log
CHANGED
|
@@ -324,3 +324,7 @@ undefined
|
|
|
324
324
|
|
|
325
325
|
You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
|
|
326
326
|
|
|
327
|
+
2026-07-13T09:29:48.497Z
|
|
328
|
+
|
|
329
|
+
You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
|
|
330
|
+
|
|
@@ -299,3 +299,7 @@ undefined
|
|
|
299
299
|
|
|
300
300
|
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`'
|
|
301
301
|
|
|
302
|
+
2026-07-13T09:30:23.523Z
|
|
303
|
+
|
|
304
|
+
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`'
|
|
305
|
+
|
|
@@ -296,3 +296,7 @@ undefined
|
|
|
296
296
|
|
|
297
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
298
|
|
|
299
|
+
2026-07-13T09:30:25.134Z
|
|
300
|
+
|
|
301
|
+
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
|
+
|
|
@@ -292,3 +292,7 @@ undefined
|
|
|
292
292
|
|
|
293
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
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
|
+
|
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-alpha.
|
|
42
|
+
version: "9.0.0-alpha.8",
|
|
43
43
|
description: "",
|
|
44
44
|
main: "lib/index.js",
|
|
45
45
|
license: "Apache-2.0",
|
|
@@ -66,8 +66,8 @@ var package_default = {
|
|
|
66
66
|
dependencies: {
|
|
67
67
|
"@babel/cli": "^7.21.0",
|
|
68
68
|
"@dbml/connector": "^9.0.0-alpha.3",
|
|
69
|
-
"@dbml/core": "^9.0.0-alpha.
|
|
70
|
-
"@dbml/parse": "^9.0.0-alpha.
|
|
69
|
+
"@dbml/core": "^9.0.0-alpha.8",
|
|
70
|
+
"@dbml/parse": "^9.0.0-alpha.8",
|
|
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: "
|
|
81
|
+
gitHead: "3049d76952a6bf7e05aa51188bf5546145ba2b17",
|
|
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-alpha.
|
|
4
|
+
"version": "9.0.0-alpha.8",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/cli": "^7.21.0",
|
|
35
35
|
"@dbml/connector": "^9.0.0-alpha.3",
|
|
36
|
-
"@dbml/core": "^9.0.0-alpha.
|
|
37
|
-
"@dbml/parse": "^9.0.0-alpha.
|
|
36
|
+
"@dbml/core": "^9.0.0-alpha.8",
|
|
37
|
+
"@dbml/parse": "^9.0.0-alpha.8",
|
|
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": "
|
|
48
|
+
"gitHead": "3049d76952a6bf7e05aa51188bf5546145ba2b17",
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": ">=18"
|
|
51
51
|
}
|