@dbml/cli 10.2.1-expose-diagnostic-filepath.0 → 10.3.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.
- package/lib/index.js +151 -207
- package/package.json +5 -5
- package/__tests__/db2dbml/mssql/dbml-error.log +0 -55
- package/__tests__/db2dbml/mysql/dbml-error.log +0 -15
- package/__tests__/db2dbml/oracle/dbml-error.log +0 -70
- package/__tests__/db2dbml/postgres/dbml-error.log +0 -35
- package/__tests__/dbml2sql/filename --mysql --out-file/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filename --mysql --out-file/out-files/schema.sql +0 -65
- package/__tests__/dbml2sql/filename --mysql stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filename --oracle --out-file/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filename --oracle --out-file/out-files/schema.sql +0 -61
- package/__tests__/dbml2sql/filename --oracle stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filename --out-file/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filename --out-file/out-files/schema.sql +0 -77
- package/__tests__/dbml2sql/filename --postgres --out-file/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filename --postgres --out-file/out-files/schema.sql +0 -77
- package/__tests__/dbml2sql/filename --postgres stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filename stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filenames --mysql --out-file/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filenames --mysql --out-file/out-files/schema.sql +0 -172
- package/__tests__/dbml2sql/filenames --mysql stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filenames --oracle --out-file/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filenames --oracle --out-file/out-files/schema.sql +0 -172
- package/__tests__/dbml2sql/filenames --oracle stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filenames --out-file/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filenames --out-file/out-files/schema.sql +0 -172
- package/__tests__/dbml2sql/filenames --postgres --out-file/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filenames --postgres --out-file/out-files/schema.sql +0 -172
- package/__tests__/dbml2sql/filenames --postgres stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/filenames stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile aliased import stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile circular import stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile complex stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile error entry-syntax-error/dbml-error.log +0 -25
- package/__tests__/dbml2sql/multifile error import-not-found/dbml-error.log +0 -5142
- package/__tests__/dbml2sql/multifile error imported-syntax-error/dbml-error.log +0 -25
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/dbml-error.log +0 -20
- package/__tests__/dbml2sql/multifile records pulling stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile refs across files stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile schema pulling stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile tablegroup pulling stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile transitive reuse stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multiple_schema_mssql/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multiple_schema_mssql/out-files/multiple_schema.out.sql +0 -62
- package/__tests__/dbml2sql/multiple_schema_mysql/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multiple_schema_mysql/out-files/multiple_schema.out.sql +0 -50
- package/__tests__/dbml2sql/multiple_schema_oracle/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multiple_schema_oracle/out-files/multiple_schema.out.sql +0 -88
- package/__tests__/dbml2sql/multiple_schema_pg/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multiple_schema_pg/out-files/multiple_schema.out.sql +0 -67
- package/__tests__/dbml2sql/single file stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/syntax-error/dbml-error.log +0 -25
- package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/dbml-error.log +0 -20
- package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/dbml-error.log +0 -20
- package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/dbml-error.log +0 -20
- package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/dbml-error.log +0 -20
- package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/dbml-error.log +0 -20
- package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/dbml-error.log +0 -20
- package/__tests__/sql2dbml/filename --mssql --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --mssql --out-file/out-files/schema.dbml +0 -25
- package/__tests__/sql2dbml/filename --mysql --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --mysql --out-file/out-files/schema.dbml +0 -74
- package/__tests__/sql2dbml/filename --mysql stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --oracle --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --oracle --out-file/out-files/schema.dbml +0 -83
- package/__tests__/sql2dbml/filename --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --out-file/out-files/schema.dbml +0 -74
- package/__tests__/sql2dbml/filename --postgres --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --postgres --out-file/out-files/schema.dbml +0 -74
- package/__tests__/sql2dbml/filename --postgres stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --snowflake stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames --mysql --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames --mysql --out-file/out-files/schema.dbml +0 -170
- package/__tests__/sql2dbml/filenames --mysql stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames --out-file/out-files/schema.dbml +0 -170
- package/__tests__/sql2dbml/filenames --postgres --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames --postgres --out-file/out-files/schema.dbml +0 -170
- package/__tests__/sql2dbml/filenames --postgres stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/multiple_schema_mssql/dbml-error.log +0 -0
- package/__tests__/sql2dbml/multiple_schema_mssql/out-files/multiple_schema.out.dbml +0 -58
- package/__tests__/sql2dbml/multiple_schema_mysql/dbml-error.log +0 -0
- package/__tests__/sql2dbml/multiple_schema_mysql/out-files/multiple_schema.out.dbml +0 -136
- package/__tests__/sql2dbml/multiple_schema_pg/dbml-error.log +0 -0
- package/__tests__/sql2dbml/multiple_schema_pg/out-files/multiple_schema.out.dbml +0 -101
- package/__tests__/sql2dbml/syntax-error/dbml-error.log +0 -20
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +0 -20
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +0 -20
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": "10.
|
|
4
|
+
"version": "10.3.0-alpha.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@babel/cli": "^7.21.0",
|
|
36
|
-
"@dbml/connector": "^10.
|
|
37
|
-
"@dbml/core": "^10.
|
|
38
|
-
"@dbml/parse": "^10.
|
|
36
|
+
"@dbml/connector": "^10.3.0-alpha.0",
|
|
37
|
+
"@dbml/core": "^10.3.0-alpha.0",
|
|
38
|
+
"@dbml/parse": "^10.3.0-alpha.0",
|
|
39
39
|
"bluebird": "^3.5.5",
|
|
40
40
|
"chalk": "^2.4.2",
|
|
41
41
|
"commander": "^2.20.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"strip-ansi": "^5.2.0",
|
|
47
47
|
"winston": "^3.2.1"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "e21f51bfa07c3406e56dd3d81a27ef27caa72453",
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=18"
|
|
52
52
|
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
2026-06-15T10:58:17.719Z
|
|
2
|
-
ConnectionError: Failed to connect to localhost:1433 - Could not connect (sequence)
|
|
3
|
-
at /Users/xuantho573/projects/holistics/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
4
|
-
at Connection.onConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
5
|
-
at Object.onceWrapper (node:events:633:26)
|
|
6
|
-
at Connection.emit (node:events:518:28)
|
|
7
|
-
at Connection.emit (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
8
|
-
at Connection.socketError (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:1351:12)
|
|
9
|
-
at /Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:1144:14
|
|
10
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
|
|
11
|
-
|
|
12
|
-
2026-06-15T10:59:20.290Z
|
|
13
|
-
ConnectionError: Failed to connect to localhost:1433 - Could not connect (sequence)
|
|
14
|
-
at /Users/xuantho573/projects/holistics/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
15
|
-
at Connection.onConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
16
|
-
at Object.onceWrapper (node:events:633:26)
|
|
17
|
-
at Connection.emit (node:events:518:28)
|
|
18
|
-
at Connection.emit (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
19
|
-
at Connection.socketError (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:1351:12)
|
|
20
|
-
at /Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:1144:14
|
|
21
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
|
|
22
|
-
|
|
23
|
-
2026-07-22T11:04:07.232Z
|
|
24
|
-
ConnectionError: Failed to connect to localhost:1433 - Could not connect (sequence)
|
|
25
|
-
at /Users/xuantho573/projects/holistics/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
26
|
-
at Connection.onConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
27
|
-
at Object.onceWrapper (node:events:633:26)
|
|
28
|
-
at Connection.emit (node:events:518:28)
|
|
29
|
-
at Connection.emit (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
30
|
-
at Connection.socketError (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:1351:12)
|
|
31
|
-
at /Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:1144:14
|
|
32
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
|
|
33
|
-
|
|
34
|
-
2026-07-22T11:07:40.073Z
|
|
35
|
-
ConnectionError: Failed to connect to localhost:1433 - Could not connect (sequence)
|
|
36
|
-
at /Users/xuantho573/projects/holistics/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
37
|
-
at Connection.onConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
38
|
-
at Object.onceWrapper (node:events:633:26)
|
|
39
|
-
at Connection.emit (node:events:518:28)
|
|
40
|
-
at Connection.emit (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
41
|
-
at Connection.socketError (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:1351:12)
|
|
42
|
-
at /Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:1144:14
|
|
43
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
|
|
44
|
-
|
|
45
|
-
2026-07-22T11:10:22.078Z
|
|
46
|
-
ConnectionError: Failed to connect to localhost:1433 - Could not connect (sequence)
|
|
47
|
-
at /Users/xuantho573/projects/holistics/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
48
|
-
at Connection.onConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
49
|
-
at Object.onceWrapper (node:events:633:26)
|
|
50
|
-
at Connection.emit (node:events:518:28)
|
|
51
|
-
at Connection.emit (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
52
|
-
at Connection.socketError (/Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:1351:12)
|
|
53
|
-
at /Users/xuantho573/projects/holistics/dbml/node_modules/tedious/lib/connection.js:1144:14
|
|
54
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
|
|
55
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
2026-06-15T10:58:18.914Z
|
|
2
|
-
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=DlHNZjs0j9hr4QduH37Bpg==)
|
|
3
|
-
connect ECONNREFUSED 127.0.0.1:1521
|
|
4
|
-
at Object.throwErr (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
5
|
-
at NTTCP.ntConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
6
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
7
|
-
at async NTTCP.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
8
|
-
at async NetworkSession.transportConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
9
|
-
at async NetworkSession.connect2 (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
10
|
-
at async NetworkSession.connect1 (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
11
|
-
at async NetworkSession.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
12
|
-
at async ThinConnectionImpl.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
13
|
-
at async getConnection (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
14
|
-
|
|
15
|
-
2026-06-15T10:59:21.446Z
|
|
16
|
-
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=RZQfvyaVfMHa1/THRFEYQA==)
|
|
17
|
-
connect ECONNREFUSED 127.0.0.1:1521
|
|
18
|
-
at Object.throwErr (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
19
|
-
at NTTCP.ntConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
20
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
21
|
-
at async NTTCP.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
22
|
-
at async NetworkSession.transportConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
23
|
-
at async NetworkSession.connect2 (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
24
|
-
at async NetworkSession.connect1 (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
25
|
-
at async NetworkSession.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
26
|
-
at async ThinConnectionImpl.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
27
|
-
at async getConnection (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
28
|
-
|
|
29
|
-
2026-07-22T11:04:08.431Z
|
|
30
|
-
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=cmEBFGaRME/RH8QTuJSpBQ==)
|
|
31
|
-
connect ECONNREFUSED 127.0.0.1:1521
|
|
32
|
-
at Object.throwErr (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
33
|
-
at NTTCP.ntConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
34
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
35
|
-
at async NTTCP.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
36
|
-
at async NetworkSession.transportConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
37
|
-
at async NetworkSession.connect2 (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
38
|
-
at async NetworkSession.connect1 (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
39
|
-
at async NetworkSession.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
40
|
-
at async ThinConnectionImpl.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
41
|
-
at async getConnection (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
42
|
-
|
|
43
|
-
2026-07-22T11:07:41.312Z
|
|
44
|
-
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=3X9TTiy8G+8YSC3mc2XtlQ==)
|
|
45
|
-
connect ECONNREFUSED 127.0.0.1:1521
|
|
46
|
-
at Object.throwErr (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
47
|
-
at NTTCP.ntConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
48
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
49
|
-
at async NTTCP.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
50
|
-
at async NetworkSession.transportConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
51
|
-
at async NetworkSession.connect2 (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
52
|
-
at async NetworkSession.connect1 (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
53
|
-
at async NetworkSession.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
54
|
-
at async ThinConnectionImpl.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
55
|
-
at async getConnection (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
56
|
-
|
|
57
|
-
2026-07-22T11:10:23.463Z
|
|
58
|
-
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=2OEhfGV+Y2Fz+zCpyOyEKg==)
|
|
59
|
-
connect ECONNREFUSED 127.0.0.1:1521
|
|
60
|
-
at Object.throwErr (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
61
|
-
at NTTCP.ntConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
62
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
63
|
-
at async NTTCP.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
64
|
-
at async NetworkSession.transportConnect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
65
|
-
at async NetworkSession.connect2 (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
66
|
-
at async NetworkSession.connect1 (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
67
|
-
at async NetworkSession.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
68
|
-
at async ThinConnectionImpl.connect (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
69
|
-
at async getConnection (/Users/xuantho573/projects/holistics/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
70
|
-
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
2026-06-15T10:58:19.526Z
|
|
2
|
-
Error: PostgreSQL connection error: error: password authentication failed for user "dbml"
|
|
3
|
-
at vi (/Users/xuantho573/projects/holistics/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
4
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
5
|
-
at async Di (/Users/xuantho573/projects/holistics/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
6
|
-
at async connectionHandler (/Users/xuantho573/projects/holistics/dbml/packages/dbml-cli/lib/index.js:1152:22)
|
|
7
|
-
|
|
8
|
-
2026-06-15T10:59:22.031Z
|
|
9
|
-
Error: PostgreSQL connection error: error: password authentication failed for user "dbml"
|
|
10
|
-
at vi (/Users/xuantho573/projects/holistics/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
11
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
12
|
-
at async Di (/Users/xuantho573/projects/holistics/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
13
|
-
at async connectionHandler (/Users/xuantho573/projects/holistics/dbml/packages/dbml-cli/lib/index.js:1152:22)
|
|
14
|
-
|
|
15
|
-
2026-07-22T11:04:09.033Z
|
|
16
|
-
Error: PostgreSQL connection error: error: password authentication failed for user "dbml"
|
|
17
|
-
at ni (/Users/xuantho573/projects/holistics/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
18
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
19
|
-
at async di (/Users/xuantho573/projects/holistics/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
20
|
-
at async connectionHandler (/Users/xuantho573/projects/holistics/dbml/packages/dbml-cli/lib/index.js:2630:22)
|
|
21
|
-
|
|
22
|
-
2026-07-22T11:07:41.954Z
|
|
23
|
-
Error: PostgreSQL connection error: error: password authentication failed for user "dbml"
|
|
24
|
-
at ni (/Users/xuantho573/projects/holistics/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
25
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
26
|
-
at async di (/Users/xuantho573/projects/holistics/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
27
|
-
at async connectionHandler (/Users/xuantho573/projects/holistics/dbml/packages/dbml-cli/lib/index.js:2630:22)
|
|
28
|
-
|
|
29
|
-
2026-07-22T11:10:24.077Z
|
|
30
|
-
Error: PostgreSQL connection error: error: password authentication failed for user "dbml"
|
|
31
|
-
at ni (/Users/xuantho573/projects/holistics/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
32
|
-
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
33
|
-
at async di (/Users/xuantho573/projects/holistics/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
34
|
-
at async connectionHandler (/Users/xuantho573/projects/holistics/dbml/packages/dbml-cli/lib/index.js:2630:22)
|
|
35
|
-
|
|
File without changes
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
-- SQL dump generated using DBML (dbml.dbdiagram.io)
|
|
2
|
-
-- Database: MySQL
|
|
3
|
-
-- Generated at: 2026-07-22T11:09:39.163Z
|
|
4
|
-
|
|
5
|
-
CREATE TABLE `orders` (
|
|
6
|
-
`id` int PRIMARY KEY AUTO_INCREMENT,
|
|
7
|
-
`user_id` int UNIQUE NOT NULL,
|
|
8
|
-
`status` ENUM ('created', 'running', 'done', 'failure'),
|
|
9
|
-
`created_at` varchar(255)
|
|
10
|
-
);
|
|
11
|
-
|
|
12
|
-
CREATE TABLE `order_items` (
|
|
13
|
-
`order_id` int,
|
|
14
|
-
`product_id` int,
|
|
15
|
-
`quantity` int DEFAULT 1
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
CREATE TABLE `products` (
|
|
19
|
-
`id` int PRIMARY KEY,
|
|
20
|
-
`name` varchar(255),
|
|
21
|
-
`merchant_id` int NOT NULL,
|
|
22
|
-
`price` int,
|
|
23
|
-
`status` ENUM ('Out of Stock', 'In Stock'),
|
|
24
|
-
`created_at` datetime DEFAULT (now())
|
|
25
|
-
);
|
|
26
|
-
|
|
27
|
-
CREATE TABLE `users` (
|
|
28
|
-
`id` int PRIMARY KEY,
|
|
29
|
-
`full_name` varchar(255),
|
|
30
|
-
`email` varchar(255) UNIQUE,
|
|
31
|
-
`gender` varchar(255),
|
|
32
|
-
`date_of_birth` varchar(255),
|
|
33
|
-
`created_at` varchar(255),
|
|
34
|
-
`country_code` int
|
|
35
|
-
);
|
|
36
|
-
|
|
37
|
-
CREATE TABLE `merchants` (
|
|
38
|
-
`id` int PRIMARY KEY,
|
|
39
|
-
`merchant_name` varchar(255),
|
|
40
|
-
`country_code` int,
|
|
41
|
-
`created_at` varchar(255),
|
|
42
|
-
`admin_id` int
|
|
43
|
-
);
|
|
44
|
-
|
|
45
|
-
CREATE TABLE `countries` (
|
|
46
|
-
`code` int PRIMARY KEY,
|
|
47
|
-
`name` varchar(255),
|
|
48
|
-
`continent_name` varchar(255)
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
CREATE INDEX `product_status` ON `products` (`merchant_id`, `status`);
|
|
52
|
-
|
|
53
|
-
CREATE UNIQUE INDEX `products_index_1` ON `products` (`id`) USING HASH;
|
|
54
|
-
|
|
55
|
-
ALTER TABLE `order_items` ADD FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`);
|
|
56
|
-
|
|
57
|
-
ALTER TABLE `order_items` ADD FOREIGN KEY (`product_id`) REFERENCES `products` (`id`);
|
|
58
|
-
|
|
59
|
-
ALTER TABLE `users` ADD FOREIGN KEY (`country_code`) REFERENCES `countries` (`code`);
|
|
60
|
-
|
|
61
|
-
ALTER TABLE `merchants` ADD FOREIGN KEY (`country_code`) REFERENCES `countries` (`code`);
|
|
62
|
-
|
|
63
|
-
ALTER TABLE `products` ADD FOREIGN KEY (`merchant_id`) REFERENCES `merchants` (`id`);
|
|
64
|
-
|
|
65
|
-
ALTER TABLE `merchants` ADD FOREIGN KEY (`admin_id`) REFERENCES `users` (`id`);
|
|
File without changes
|
|
File without changes
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
-- SQL dump generated using DBML (dbml.dbdiagram.io)
|
|
2
|
-
-- Database: Oracle
|
|
3
|
-
-- Generated at: 2026-07-22T11:09:40.371Z
|
|
4
|
-
|
|
5
|
-
CREATE TABLE "orders" (
|
|
6
|
-
"id" int GENERATED AS IDENTITY PRIMARY KEY,
|
|
7
|
-
"user_id" int UNIQUE NOT NULL,
|
|
8
|
-
"status" nvarchar2(255) NOT NULL CHECK ("status" IN ('created', 'running', 'done', 'failure'))
|
|
9
|
-
);
|
|
10
|
-
|
|
11
|
-
CREATE TABLE "order_items" (
|
|
12
|
-
"order_id" int,
|
|
13
|
-
"product_id" int,
|
|
14
|
-
"quantity" int DEFAULT 1
|
|
15
|
-
);
|
|
16
|
-
|
|
17
|
-
CREATE TABLE "products" (
|
|
18
|
-
"id" int PRIMARY KEY,
|
|
19
|
-
"name" nvarchar2(255),
|
|
20
|
-
"merchant_id" int NOT NULL,
|
|
21
|
-
"price" int,
|
|
22
|
-
"status" nvarchar2(255) NOT NULL CHECK ("status" IN ('Out of Stock', 'In Stock')),
|
|
23
|
-
"created_at" timestamp DEFAULT current_timestamp
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
CREATE TABLE "users" (
|
|
27
|
-
"id" int PRIMARY KEY,
|
|
28
|
-
"full_name" nvarchar2(255),
|
|
29
|
-
"email" nvarchar2(255) UNIQUE,
|
|
30
|
-
"gender" nvarchar2(255),
|
|
31
|
-
"date_of_birth" date,
|
|
32
|
-
"created_at" timestamp,
|
|
33
|
-
"country_code" int
|
|
34
|
-
);
|
|
35
|
-
|
|
36
|
-
CREATE TABLE "merchants" (
|
|
37
|
-
"id" int PRIMARY KEY,
|
|
38
|
-
"merchant_name" nvarchar2(255),
|
|
39
|
-
"country_code" int,
|
|
40
|
-
"created_at" timestamp,
|
|
41
|
-
"admin_id" int
|
|
42
|
-
);
|
|
43
|
-
|
|
44
|
-
CREATE TABLE "countries" (
|
|
45
|
-
"code" int PRIMARY KEY,
|
|
46
|
-
"name" nvarchar2(255)
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
CREATE INDEX "product_status" ON "products" ("merchant_id", "status");
|
|
50
|
-
|
|
51
|
-
ALTER TABLE "order_items" ADD FOREIGN KEY ("order_id") REFERENCES "orders" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
52
|
-
|
|
53
|
-
ALTER TABLE "order_items" ADD FOREIGN KEY ("product_id") REFERENCES "products" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
54
|
-
|
|
55
|
-
ALTER TABLE "users" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code") DEFERRABLE INITIALLY IMMEDIATE;
|
|
56
|
-
|
|
57
|
-
ALTER TABLE "merchants" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code") DEFERRABLE INITIALLY IMMEDIATE;
|
|
58
|
-
|
|
59
|
-
ALTER TABLE "products" ADD FOREIGN KEY ("merchant_id") REFERENCES "merchants" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
60
|
-
|
|
61
|
-
ALTER TABLE "merchants" ADD FOREIGN KEY ("admin_id") REFERENCES "users" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
-- SQL dump generated using DBML (dbml.dbdiagram.io)
|
|
2
|
-
-- Database: PostgreSQL
|
|
3
|
-
-- Generated at: 2026-07-22T11:09:41.573Z
|
|
4
|
-
|
|
5
|
-
CREATE TYPE "orders_status" AS ENUM (
|
|
6
|
-
'created',
|
|
7
|
-
'running',
|
|
8
|
-
'done',
|
|
9
|
-
'failure'
|
|
10
|
-
);
|
|
11
|
-
|
|
12
|
-
CREATE TYPE "product status" AS ENUM (
|
|
13
|
-
'Out of Stock',
|
|
14
|
-
'In Stock'
|
|
15
|
-
);
|
|
16
|
-
|
|
17
|
-
CREATE TABLE "orders" (
|
|
18
|
-
"id" INT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
|
|
19
|
-
"user_id" int UNIQUE NOT NULL,
|
|
20
|
-
"status" orders_status,
|
|
21
|
-
"created_at" varchar
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
CREATE TABLE "order_items" (
|
|
25
|
-
"order_id" int,
|
|
26
|
-
"product_id" int,
|
|
27
|
-
"quantity" int DEFAULT 1
|
|
28
|
-
);
|
|
29
|
-
|
|
30
|
-
CREATE TABLE "products" (
|
|
31
|
-
"id" int PRIMARY KEY,
|
|
32
|
-
"name" varchar,
|
|
33
|
-
"merchant_id" int NOT NULL,
|
|
34
|
-
"price" int,
|
|
35
|
-
"status" "product status",
|
|
36
|
-
"created_at" datetime DEFAULT (now())
|
|
37
|
-
);
|
|
38
|
-
|
|
39
|
-
CREATE TABLE "users" (
|
|
40
|
-
"id" int PRIMARY KEY,
|
|
41
|
-
"full_name" varchar,
|
|
42
|
-
"email" varchar UNIQUE,
|
|
43
|
-
"gender" varchar,
|
|
44
|
-
"date_of_birth" varchar,
|
|
45
|
-
"created_at" varchar,
|
|
46
|
-
"country_code" int
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
CREATE TABLE "merchants" (
|
|
50
|
-
"id" int PRIMARY KEY,
|
|
51
|
-
"merchant_name" varchar,
|
|
52
|
-
"country_code" int,
|
|
53
|
-
"created_at" varchar,
|
|
54
|
-
"admin_id" int
|
|
55
|
-
);
|
|
56
|
-
|
|
57
|
-
CREATE TABLE "countries" (
|
|
58
|
-
"code" int PRIMARY KEY,
|
|
59
|
-
"name" varchar,
|
|
60
|
-
"continent_name" varchar
|
|
61
|
-
);
|
|
62
|
-
|
|
63
|
-
CREATE INDEX "product_status" ON "products" ("merchant_id", "status");
|
|
64
|
-
|
|
65
|
-
CREATE UNIQUE INDEX ON "products" USING HASH ("id");
|
|
66
|
-
|
|
67
|
-
ALTER TABLE "order_items" ADD FOREIGN KEY ("order_id") REFERENCES "orders" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
68
|
-
|
|
69
|
-
ALTER TABLE "order_items" ADD FOREIGN KEY ("product_id") REFERENCES "products" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
70
|
-
|
|
71
|
-
ALTER TABLE "users" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code") DEFERRABLE INITIALLY IMMEDIATE;
|
|
72
|
-
|
|
73
|
-
ALTER TABLE "merchants" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code") DEFERRABLE INITIALLY IMMEDIATE;
|
|
74
|
-
|
|
75
|
-
ALTER TABLE "products" ADD FOREIGN KEY ("merchant_id") REFERENCES "merchants" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
76
|
-
|
|
77
|
-
ALTER TABLE "merchants" ADD FOREIGN KEY ("admin_id") REFERENCES "users" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
File without changes
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
-- SQL dump generated using DBML (dbml.dbdiagram.io)
|
|
2
|
-
-- Database: PostgreSQL
|
|
3
|
-
-- Generated at: 2026-07-22T11:09:42.173Z
|
|
4
|
-
|
|
5
|
-
CREATE TYPE "orders_status" AS ENUM (
|
|
6
|
-
'created',
|
|
7
|
-
'running',
|
|
8
|
-
'done',
|
|
9
|
-
'failure'
|
|
10
|
-
);
|
|
11
|
-
|
|
12
|
-
CREATE TYPE "product status" AS ENUM (
|
|
13
|
-
'Out of Stock',
|
|
14
|
-
'In Stock'
|
|
15
|
-
);
|
|
16
|
-
|
|
17
|
-
CREATE TABLE "orders" (
|
|
18
|
-
"id" INT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
|
|
19
|
-
"user_id" int UNIQUE NOT NULL,
|
|
20
|
-
"status" orders_status,
|
|
21
|
-
"created_at" varchar
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
CREATE TABLE "order_items" (
|
|
25
|
-
"order_id" int,
|
|
26
|
-
"product_id" int,
|
|
27
|
-
"quantity" int DEFAULT 1
|
|
28
|
-
);
|
|
29
|
-
|
|
30
|
-
CREATE TABLE "products" (
|
|
31
|
-
"id" int PRIMARY KEY,
|
|
32
|
-
"name" varchar,
|
|
33
|
-
"merchant_id" int NOT NULL,
|
|
34
|
-
"price" int,
|
|
35
|
-
"status" "product status",
|
|
36
|
-
"created_at" datetime DEFAULT (now())
|
|
37
|
-
);
|
|
38
|
-
|
|
39
|
-
CREATE TABLE "users" (
|
|
40
|
-
"id" int PRIMARY KEY,
|
|
41
|
-
"full_name" varchar,
|
|
42
|
-
"email" varchar UNIQUE,
|
|
43
|
-
"gender" varchar,
|
|
44
|
-
"date_of_birth" varchar,
|
|
45
|
-
"created_at" varchar,
|
|
46
|
-
"country_code" int
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
CREATE TABLE "merchants" (
|
|
50
|
-
"id" int PRIMARY KEY,
|
|
51
|
-
"merchant_name" varchar,
|
|
52
|
-
"country_code" int,
|
|
53
|
-
"created_at" varchar,
|
|
54
|
-
"admin_id" int
|
|
55
|
-
);
|
|
56
|
-
|
|
57
|
-
CREATE TABLE "countries" (
|
|
58
|
-
"code" int PRIMARY KEY,
|
|
59
|
-
"name" varchar,
|
|
60
|
-
"continent_name" varchar
|
|
61
|
-
);
|
|
62
|
-
|
|
63
|
-
CREATE INDEX "product_status" ON "products" ("merchant_id", "status");
|
|
64
|
-
|
|
65
|
-
CREATE UNIQUE INDEX ON "products" USING HASH ("id");
|
|
66
|
-
|
|
67
|
-
ALTER TABLE "order_items" ADD FOREIGN KEY ("order_id") REFERENCES "orders" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
68
|
-
|
|
69
|
-
ALTER TABLE "order_items" ADD FOREIGN KEY ("product_id") REFERENCES "products" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
70
|
-
|
|
71
|
-
ALTER TABLE "users" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code") DEFERRABLE INITIALLY IMMEDIATE;
|
|
72
|
-
|
|
73
|
-
ALTER TABLE "merchants" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code") DEFERRABLE INITIALLY IMMEDIATE;
|
|
74
|
-
|
|
75
|
-
ALTER TABLE "products" ADD FOREIGN KEY ("merchant_id") REFERENCES "merchants" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
76
|
-
|
|
77
|
-
ALTER TABLE "merchants" ADD FOREIGN KEY ("admin_id") REFERENCES "users" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|