@dbml/cli 6.3.0-alpha.5 → 6.3.0-alpha.7

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 (33) hide show
  1. package/__tests__/db2dbml/mssql/dbml-error.log +73 -0
  2. package/__tests__/db2dbml/mysql/dbml-error.log +61 -0
  3. package/__tests__/db2dbml/oracle/dbml-error.log +98 -0
  4. package/__tests__/db2dbml/postgres/dbml-error.log +49 -0
  5. package/__tests__/dbml2sql/filename --mysql --out-file/out-files/schema.sql +1 -1
  6. package/__tests__/dbml2sql/filename --oracle --out-file/out-files/schema.sql +1 -1
  7. package/__tests__/dbml2sql/filename --out-file/expect-out-files/schema.sql +6 -6
  8. package/__tests__/dbml2sql/filename --out-file/out-files/schema.sql +1 -1
  9. package/__tests__/dbml2sql/filename --postgres --out-file/out-files/schema.sql +1 -1
  10. package/__tests__/dbml2sql/filename stdout/stdout.txt +6 -6
  11. package/__tests__/dbml2sql/filenames --mysql --out-file/out-files/schema.sql +1 -1
  12. package/__tests__/dbml2sql/filenames --oracle --out-file/out-files/schema.sql +1 -1
  13. package/__tests__/dbml2sql/filenames --out-file/expect-out-files/schema.sql +15 -15
  14. package/__tests__/dbml2sql/filenames --out-file/out-files/schema.sql +1 -1
  15. package/__tests__/dbml2sql/filenames --postgres --out-file/out-files/schema.sql +1 -1
  16. package/__tests__/dbml2sql/filenames stdout/stdout.txt +15 -15
  17. package/__tests__/dbml2sql/multiple_schema_mssql/out-files/multiple_schema.out.sql +1 -1
  18. package/__tests__/dbml2sql/multiple_schema_mysql/out-files/multiple_schema.out.sql +1 -1
  19. package/__tests__/dbml2sql/multiple_schema_oracle/out-files/multiple_schema.out.sql +1 -1
  20. package/__tests__/dbml2sql/multiple_schema_pg/expect-out-files/multiple_schema.out.sql +4 -4
  21. package/__tests__/dbml2sql/multiple_schema_pg/out-files/multiple_schema.out.sql +1 -1
  22. package/__tests__/dbml2sql/syntax-error/dbml-error.log +24 -0
  23. package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/dbml-error.log +24 -0
  24. package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/dbml-error.log +24 -0
  25. package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/dbml-error.log +24 -0
  26. package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/dbml-error.log +24 -0
  27. package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/dbml-error.log +24 -0
  28. package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/dbml-error.log +24 -0
  29. package/__tests__/sql2dbml/syntax-error/dbml-error.log +21 -0
  30. package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +21 -0
  31. package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +21 -0
  32. package/lib/index.js +3 -3
  33. package/package.json +3 -3
@@ -71,3 +71,76 @@ ConnectionError: Failed to connect to localhost:1433 - Could not connect (sequen
71
71
  at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:1144:14
72
72
  at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
73
73
 
74
+ 2026-02-12T07:43:03.356Z
75
+ ConnectionError: Login failed for user 'SA'.
76
+ at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
77
+ at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
78
+ at Object.onceWrapper (node:events:634:26)
79
+ at Connection.emit (node:events:519:28)
80
+ at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
81
+ at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
82
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
83
+
84
+ 2026-02-12T07:44:24.468Z
85
+ ConnectionError: Login failed for user 'SA'.
86
+ at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
87
+ at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
88
+ at Object.onceWrapper (node:events:634:26)
89
+ at Connection.emit (node:events:519:28)
90
+ at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
91
+ at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
92
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
93
+
94
+ 2026-02-12T07:45:44.084Z
95
+ ConnectionError: Login failed for user 'SA'.
96
+ at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
97
+ at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
98
+ at Object.onceWrapper (node:events:634:26)
99
+ at Connection.emit (node:events:519:28)
100
+ at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
101
+ at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
102
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
103
+
104
+ 2026-02-12T08:37:16.312Z
105
+ ConnectionError: Login failed for user 'SA'.
106
+ at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
107
+ at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
108
+ at Object.onceWrapper (node:events:634:26)
109
+ at Connection.emit (node:events:519:28)
110
+ at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
111
+ at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
112
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
113
+
114
+ 2026-02-12T09:16:22.538Z
115
+ ConnectionError: Failed to connect to localhost:1433 - Could not connect (sequence)
116
+ at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
117
+ at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
118
+ at Object.onceWrapper (node:events:634:26)
119
+ at Connection.emit (node:events:519:28)
120
+ at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
121
+ at Connection.socketError (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:1351:12)
122
+ at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:1144:14
123
+ at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
124
+
125
+ 2026-02-12T09:21:19.949Z
126
+ ConnectionError: Failed to connect to localhost:1433 - Could not connect (sequence)
127
+ at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
128
+ at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
129
+ at Object.onceWrapper (node:events:634:26)
130
+ at Connection.emit (node:events:519:28)
131
+ at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
132
+ at Connection.socketError (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:1351:12)
133
+ at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:1144:14
134
+ at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
135
+
136
+ 2026-02-12T09:26:15.200Z
137
+ ConnectionError: Failed to connect to localhost:1433 - Could not connect (sequence)
138
+ at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
139
+ at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
140
+ at Object.onceWrapper (node:events:634:26)
141
+ at Connection.emit (node:events:519:28)
142
+ at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
143
+ at Connection.socketError (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:1351:12)
144
+ at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:1144:14
145
+ at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
146
+
@@ -69,3 +69,64 @@ Error: Connection lost: The server closed the connection.
69
69
  at Object..js (node:internal/modules/cjs/loader:1839:10)
70
70
  at Module.load (node:internal/modules/cjs/loader:1441:32)
71
71
 
72
+ 2026-02-12T07:43:04.571Z
73
+ Error: Unknown database 'dbml_test'
74
+ at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3387:47737)
75
+ at Or (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3387:53410)
76
+ at Ur (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3506:500)
77
+ at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1303)
78
+ at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1179:55)
79
+ at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1307:2)
80
+ at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
81
+ at Module._compile (node:internal/modules/cjs/loader:1706:14)
82
+ at Object..js (node:internal/modules/cjs/loader:1839:10)
83
+ at Module.load (node:internal/modules/cjs/loader:1441:32)
84
+
85
+ 2026-02-12T07:44:25.704Z
86
+ Error: Unknown database 'dbml_test'
87
+ at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3387:47737)
88
+ at Or (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3387:53410)
89
+ at Ur (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3506:500)
90
+ at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1303)
91
+ at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1179:55)
92
+ at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1307:2)
93
+ at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
94
+ at Module._compile (node:internal/modules/cjs/loader:1706:14)
95
+ at Object..js (node:internal/modules/cjs/loader:1839:10)
96
+ at Module.load (node:internal/modules/cjs/loader:1441:32)
97
+
98
+ 2026-02-12T07:45:45.368Z
99
+ Error: Unknown database 'dbml_test'
100
+ at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3387:47737)
101
+ at Or (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3387:53410)
102
+ at Ur (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3506:500)
103
+ at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1303)
104
+ at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1179:55)
105
+ at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1307:2)
106
+ at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
107
+ at Module._compile (node:internal/modules/cjs/loader:1706:14)
108
+ at Object..js (node:internal/modules/cjs/loader:1839:10)
109
+ at Module.load (node:internal/modules/cjs/loader:1441:32)
110
+
111
+ 2026-02-12T08:37:17.517Z
112
+ Error: Unknown database 'dbml_test'
113
+ at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3387:47737)
114
+ at Or (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3387:53410)
115
+ at Ur (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3506:500)
116
+ at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1303)
117
+ at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1179:55)
118
+ at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1307:2)
119
+ at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
120
+ at Module._compile (node:internal/modules/cjs/loader:1706:14)
121
+ at Object..js (node:internal/modules/cjs/loader:1839:10)
122
+ at Module.load (node:internal/modules/cjs/loader:1441:32)
123
+
124
+ 2026-02-12T09:16:23.763Z
125
+ undefined
126
+
127
+ 2026-02-12T09:21:21.126Z
128
+ undefined
129
+
130
+ 2026-02-12T09:26:16.413Z
131
+ undefined
132
+
@@ -96,3 +96,101 @@ connect ECONNREFUSED 127.0.0.1:1521
96
96
  at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
97
97
  at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
98
98
 
99
+ 2026-02-12T07:43:05.776Z
100
+ Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=3UuCi4hOOA/2tDDl0ATySQ==)
101
+ connect ECONNREFUSED 127.0.0.1:1521
102
+ at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
103
+ at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
104
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
105
+ at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
106
+ at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
107
+ at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
108
+ at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
109
+ at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
110
+ at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
111
+ at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
112
+
113
+ 2026-02-12T07:44:26.967Z
114
+ Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=yxG8Fl2hBJrEUF4gxoHAEg==)
115
+ connect ECONNREFUSED 127.0.0.1:1521
116
+ at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
117
+ at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
118
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
119
+ at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
120
+ at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
121
+ at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
122
+ at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
123
+ at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
124
+ at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
125
+ at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
126
+
127
+ 2026-02-12T07:45:46.607Z
128
+ Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=iPpEc9lIFlbFSyrMP820/g==)
129
+ connect ECONNREFUSED 127.0.0.1:1521
130
+ at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
131
+ at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
132
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
133
+ at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
134
+ at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
135
+ at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
136
+ at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
137
+ at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
138
+ at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
139
+ at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
140
+
141
+ 2026-02-12T08:37:18.707Z
142
+ Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=aq9arHLHyU2DPeBRwF4k5Q==)
143
+ connect ECONNREFUSED 127.0.0.1:1521
144
+ at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
145
+ at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
146
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
147
+ at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
148
+ at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
149
+ at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
150
+ at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
151
+ at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
152
+ at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
153
+ at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
154
+
155
+ 2026-02-12T09:16:24.930Z
156
+ Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=bSM1z6F7BCZScc6kV5rVjw==)
157
+ connect ECONNREFUSED 127.0.0.1:1521
158
+ at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
159
+ at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
160
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
161
+ at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
162
+ at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
163
+ at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
164
+ at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
165
+ at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
166
+ at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
167
+ at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
168
+
169
+ 2026-02-12T09:21:22.272Z
170
+ Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=CSm79htIwQXduMyMGHkBEg==)
171
+ connect ECONNREFUSED 127.0.0.1:1521
172
+ at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
173
+ at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
174
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
175
+ at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
176
+ at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
177
+ at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
178
+ at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
179
+ at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
180
+ at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
181
+ at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
182
+
183
+ 2026-02-12T09:26:17.631Z
184
+ Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=bkwwV6gLAt54pTUknkibcw==)
185
+ connect ECONNREFUSED 127.0.0.1:1521
186
+ at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
187
+ at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
188
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
189
+ at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
190
+ at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
191
+ at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
192
+ at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
193
+ at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
194
+ at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
195
+ at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
196
+
@@ -47,3 +47,52 @@ Error: PostgreSQL connection error: error: role "dbml" does not exist
47
47
  at async ae (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:218:278)
48
48
  at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1179:22)
49
49
 
50
+ 2026-02-12T07:43:06.953Z
51
+ Error: PostgreSQL connection error: error: role "dbml" does not exist
52
+ at D (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:1:1741)
53
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
54
+ at async ae (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:218:278)
55
+ at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1179:22)
56
+
57
+ 2026-02-12T07:44:28.208Z
58
+ Error: PostgreSQL connection error: error: role "dbml" does not exist
59
+ at D (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:1:1741)
60
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
61
+ at async ae (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:218:278)
62
+ at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1179:22)
63
+
64
+ 2026-02-12T07:45:47.802Z
65
+ Error: PostgreSQL connection error: error: role "dbml" does not exist
66
+ at D (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:1:1741)
67
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
68
+ at async ae (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:218:278)
69
+ at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1179:22)
70
+
71
+ 2026-02-12T08:37:19.895Z
72
+ Error: PostgreSQL connection error: error: role "dbml" does not exist
73
+ at D (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:1:1741)
74
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
75
+ at async ae (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:218:278)
76
+ at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1179:22)
77
+
78
+ 2026-02-12T09:16:26.124Z
79
+ Error: PostgreSQL connection error: error: role "dbml" does not exist
80
+ at D (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:1:1741)
81
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
82
+ at async ae (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:218:278)
83
+ at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1179:22)
84
+
85
+ 2026-02-12T09:21:23.432Z
86
+ Error: PostgreSQL connection error: error: role "dbml" does not exist
87
+ at D (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:1:1741)
88
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
89
+ at async ae (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:218:278)
90
+ at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1179:22)
91
+
92
+ 2026-02-12T09:26:18.820Z
93
+ Error: PostgreSQL connection error: error: role "dbml" does not exist
94
+ at D (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:1:1741)
95
+ at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
96
+ at async ae (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:218:278)
97
+ at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1179:22)
98
+
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: MySQL
3
- -- Generated at: 2026-02-12T07:26:00.281Z
3
+ -- Generated at: 2026-02-12T09:27:01.512Z
4
4
 
5
5
  CREATE TABLE `orders` (
6
6
  `id` int PRIMARY KEY AUTO_INCREMENT,
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: Oracle
3
- -- Generated at: 2026-02-12T07:26:03.047Z
3
+ -- Generated at: 2026-02-12T09:27:03.935Z
4
4
 
5
5
  CREATE TABLE "orders" (
6
6
  "id" int GENERATED AS IDENTITY PRIMARY KEY,
@@ -60,14 +60,14 @@ CREATE INDEX "product_status" ON "products" ("merchant_id", "status");
60
60
 
61
61
  CREATE UNIQUE INDEX ON "products" USING HASH ("id");
62
62
 
63
- ALTER TABLE "order_items" ADD FOREIGN KEY ("order_id") REFERENCES "orders" ("id");
63
+ ALTER TABLE "order_items" ADD FOREIGN KEY ("order_id") REFERENCES "orders" ("id") DEFERRABLE INITIALLY IMMEDIATE;
64
64
 
65
- ALTER TABLE "order_items" ADD FOREIGN KEY ("product_id") REFERENCES "products" ("id");
65
+ ALTER TABLE "order_items" ADD FOREIGN KEY ("product_id") REFERENCES "products" ("id") DEFERRABLE INITIALLY IMMEDIATE;
66
66
 
67
- ALTER TABLE "users" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code");
67
+ ALTER TABLE "users" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code") DEFERRABLE INITIALLY IMMEDIATE;
68
68
 
69
- ALTER TABLE "merchants" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code");
69
+ ALTER TABLE "merchants" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code") DEFERRABLE INITIALLY IMMEDIATE;
70
70
 
71
- ALTER TABLE "products" ADD FOREIGN KEY ("merchant_id") REFERENCES "merchants" ("id");
71
+ ALTER TABLE "products" ADD FOREIGN KEY ("merchant_id") REFERENCES "merchants" ("id") DEFERRABLE INITIALLY IMMEDIATE;
72
72
 
73
- ALTER TABLE "merchants" ADD FOREIGN KEY ("admin_id") REFERENCES "users" ("id");
73
+ ALTER TABLE "merchants" ADD FOREIGN KEY ("admin_id") REFERENCES "users" ("id") DEFERRABLE INITIALLY IMMEDIATE;
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: PostgreSQL
3
- -- Generated at: 2026-02-12T07:26:05.742Z
3
+ -- Generated at: 2026-02-12T09:27:06.307Z
4
4
 
5
5
  CREATE TYPE "orders_status" AS ENUM (
6
6
  'created',
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: PostgreSQL
3
- -- Generated at: 2026-02-12T07:26:07.072Z
3
+ -- Generated at: 2026-02-12T09:27:07.451Z
4
4
 
5
5
  CREATE TYPE "orders_status" AS ENUM (
6
6
  'created',
@@ -60,15 +60,15 @@ CREATE INDEX "product_status" ON "products" ("merchant_id", "status");
60
60
 
61
61
  CREATE UNIQUE INDEX ON "products" USING HASH ("id");
62
62
 
63
- ALTER TABLE "order_items" ADD FOREIGN KEY ("order_id") REFERENCES "orders" ("id");
63
+ ALTER TABLE "order_items" ADD FOREIGN KEY ("order_id") REFERENCES "orders" ("id") DEFERRABLE INITIALLY IMMEDIATE;
64
64
 
65
- ALTER TABLE "order_items" ADD FOREIGN KEY ("product_id") REFERENCES "products" ("id");
65
+ ALTER TABLE "order_items" ADD FOREIGN KEY ("product_id") REFERENCES "products" ("id") DEFERRABLE INITIALLY IMMEDIATE;
66
66
 
67
- ALTER TABLE "users" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code");
67
+ ALTER TABLE "users" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code") DEFERRABLE INITIALLY IMMEDIATE;
68
68
 
69
- ALTER TABLE "merchants" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code");
69
+ ALTER TABLE "merchants" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code") DEFERRABLE INITIALLY IMMEDIATE;
70
70
 
71
- ALTER TABLE "products" ADD FOREIGN KEY ("merchant_id") REFERENCES "merchants" ("id");
71
+ ALTER TABLE "products" ADD FOREIGN KEY ("merchant_id") REFERENCES "merchants" ("id") DEFERRABLE INITIALLY IMMEDIATE;
72
72
 
73
- ALTER TABLE "merchants" ADD FOREIGN KEY ("admin_id") REFERENCES "users" ("id");
73
+ ALTER TABLE "merchants" ADD FOREIGN KEY ("admin_id") REFERENCES "users" ("id") DEFERRABLE INITIALLY IMMEDIATE;
74
74
 
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: MySQL
3
- -- Generated at: 2026-02-12T07:26:10.851Z
3
+ -- Generated at: 2026-02-12T09:27:11.007Z
4
4
 
5
5
  CREATE TABLE `staff` (
6
6
  `id` int PRIMARY KEY,
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: Oracle
3
- -- Generated at: 2026-02-12T07:26:13.276Z
3
+ -- Generated at: 2026-02-12T09:27:13.371Z
4
4
 
5
5
  CREATE TABLE "staff" (
6
6
  "id" int PRIMARY KEY,
@@ -39,15 +39,15 @@ CREATE TABLE "rental" (
39
39
  "last_update" timestamp
40
40
  );
41
41
 
42
- ALTER TABLE "staff" ADD FOREIGN KEY ("store_id") REFERENCES "store" ("id");
42
+ ALTER TABLE "staff" ADD FOREIGN KEY ("store_id") REFERENCES "store" ("id") DEFERRABLE INITIALLY IMMEDIATE;
43
43
 
44
- ALTER TABLE "store" ADD FOREIGN KEY ("manager_staff_id") REFERENCES "staff" ("id");
44
+ ALTER TABLE "store" ADD FOREIGN KEY ("manager_staff_id") REFERENCES "staff" ("id") DEFERRABLE INITIALLY IMMEDIATE;
45
45
 
46
- ALTER TABLE "payment" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id");
46
+ ALTER TABLE "payment" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id") DEFERRABLE INITIALLY IMMEDIATE;
47
47
 
48
- ALTER TABLE "payment" ADD FOREIGN KEY ("rental_id") REFERENCES "rental" ("id");
48
+ ALTER TABLE "payment" ADD FOREIGN KEY ("rental_id") REFERENCES "rental" ("id") DEFERRABLE INITIALLY IMMEDIATE;
49
49
 
50
- ALTER TABLE "rental" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id");
50
+ ALTER TABLE "rental" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id") DEFERRABLE INITIALLY IMMEDIATE;
51
51
  CREATE TABLE "country" (
52
52
  "id" int PRIMARY KEY,
53
53
  "country" varchar,
@@ -86,11 +86,11 @@ CREATE TABLE "customer" (
86
86
 
87
87
  CREATE INDEX ON "customer" USING BTREE ("id", "first_name");
88
88
 
89
- ALTER TABLE "city" ADD FOREIGN KEY ("country_id") REFERENCES "country" ("id");
89
+ ALTER TABLE "city" ADD FOREIGN KEY ("country_id") REFERENCES "country" ("id") DEFERRABLE INITIALLY IMMEDIATE;
90
90
 
91
- ALTER TABLE "address" ADD FOREIGN KEY ("city_id") REFERENCES "city" ("id");
91
+ ALTER TABLE "address" ADD FOREIGN KEY ("city_id") REFERENCES "city" ("id") DEFERRABLE INITIALLY IMMEDIATE;
92
92
 
93
- ALTER TABLE "customer" ADD FOREIGN KEY ("address_id") REFERENCES "address" ("id");
93
+ ALTER TABLE "customer" ADD FOREIGN KEY ("address_id") REFERENCES "address" ("id") DEFERRABLE INITIALLY IMMEDIATE;
94
94
  CREATE TABLE "category" (
95
95
  "id" int PRIMARY KEY,
96
96
  "name" varchar,
@@ -153,16 +153,16 @@ CREATE TABLE "inventory" (
153
153
  "last_update" timestamp
154
154
  );
155
155
 
156
- ALTER TABLE "film_category" ADD FOREIGN KEY ("category_id") REFERENCES "category" ("id");
156
+ ALTER TABLE "film_category" ADD FOREIGN KEY ("category_id") REFERENCES "category" ("id") DEFERRABLE INITIALLY IMMEDIATE;
157
157
 
158
- ALTER TABLE "film_text" ADD FOREIGN KEY ("film_id") REFERENCES "inventory" ("film_id");
158
+ ALTER TABLE "film_text" ADD FOREIGN KEY ("film_id") REFERENCES "inventory" ("film_id") DEFERRABLE INITIALLY IMMEDIATE;
159
159
 
160
- ALTER TABLE "film" ADD FOREIGN KEY ("language_id") REFERENCES "language" ("id");
160
+ ALTER TABLE "film" ADD FOREIGN KEY ("language_id") REFERENCES "language" ("id") DEFERRABLE INITIALLY IMMEDIATE;
161
161
 
162
- ALTER TABLE "film" ADD FOREIGN KEY ("original_language_id") REFERENCES "language" ("id");
162
+ ALTER TABLE "film" ADD FOREIGN KEY ("original_language_id") REFERENCES "language" ("id") DEFERRABLE INITIALLY IMMEDIATE;
163
163
 
164
- ALTER TABLE "film_actor" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id");
164
+ ALTER TABLE "film_actor" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id") DEFERRABLE INITIALLY IMMEDIATE;
165
165
 
166
- ALTER TABLE "film_actor" ADD FOREIGN KEY ("actor_id") REFERENCES "actor" ("id");
166
+ ALTER TABLE "film_actor" ADD FOREIGN KEY ("actor_id") REFERENCES "actor" ("id") DEFERRABLE INITIALLY IMMEDIATE;
167
167
 
168
- ALTER TABLE "inventory" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id");
168
+ ALTER TABLE "inventory" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id") DEFERRABLE INITIALLY IMMEDIATE;
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: PostgreSQL
3
- -- Generated at: 2026-02-12T07:26:15.748Z
3
+ -- Generated at: 2026-02-12T09:27:15.720Z
4
4
 
5
5
  CREATE TABLE "staff" (
6
6
  "id" int PRIMARY KEY,
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: PostgreSQL
3
- -- Generated at: 2026-02-12T07:26:16.994Z
3
+ -- Generated at: 2026-02-12T09:27:16.898Z
4
4
 
5
5
  CREATE TABLE "staff" (
6
6
  "id" int PRIMARY KEY,
@@ -39,15 +39,15 @@ CREATE TABLE "rental" (
39
39
  "last_update" timestamp
40
40
  );
41
41
 
42
- ALTER TABLE "staff" ADD FOREIGN KEY ("store_id") REFERENCES "store" ("id");
42
+ ALTER TABLE "staff" ADD FOREIGN KEY ("store_id") REFERENCES "store" ("id") DEFERRABLE INITIALLY IMMEDIATE;
43
43
 
44
- ALTER TABLE "store" ADD FOREIGN KEY ("manager_staff_id") REFERENCES "staff" ("id");
44
+ ALTER TABLE "store" ADD FOREIGN KEY ("manager_staff_id") REFERENCES "staff" ("id") DEFERRABLE INITIALLY IMMEDIATE;
45
45
 
46
- ALTER TABLE "payment" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id");
46
+ ALTER TABLE "payment" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id") DEFERRABLE INITIALLY IMMEDIATE;
47
47
 
48
- ALTER TABLE "payment" ADD FOREIGN KEY ("rental_id") REFERENCES "rental" ("id");
48
+ ALTER TABLE "payment" ADD FOREIGN KEY ("rental_id") REFERENCES "rental" ("id") DEFERRABLE INITIALLY IMMEDIATE;
49
49
 
50
- ALTER TABLE "rental" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id");
50
+ ALTER TABLE "rental" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id") DEFERRABLE INITIALLY IMMEDIATE;
51
51
 
52
52
  CREATE TABLE "country" (
53
53
  "id" int PRIMARY KEY,
@@ -87,11 +87,11 @@ CREATE TABLE "customer" (
87
87
 
88
88
  CREATE INDEX ON "customer" USING BTREE ("id", "first_name");
89
89
 
90
- ALTER TABLE "city" ADD FOREIGN KEY ("country_id") REFERENCES "country" ("id");
90
+ ALTER TABLE "city" ADD FOREIGN KEY ("country_id") REFERENCES "country" ("id") DEFERRABLE INITIALLY IMMEDIATE;
91
91
 
92
- ALTER TABLE "address" ADD FOREIGN KEY ("city_id") REFERENCES "city" ("id");
92
+ ALTER TABLE "address" ADD FOREIGN KEY ("city_id") REFERENCES "city" ("id") DEFERRABLE INITIALLY IMMEDIATE;
93
93
 
94
- ALTER TABLE "customer" ADD FOREIGN KEY ("address_id") REFERENCES "address" ("id");
94
+ ALTER TABLE "customer" ADD FOREIGN KEY ("address_id") REFERENCES "address" ("id") DEFERRABLE INITIALLY IMMEDIATE;
95
95
 
96
96
  CREATE TABLE "category" (
97
97
  "id" int PRIMARY KEY,
@@ -155,17 +155,17 @@ CREATE TABLE "inventory" (
155
155
  "last_update" timestamp
156
156
  );
157
157
 
158
- ALTER TABLE "film_category" ADD FOREIGN KEY ("category_id") REFERENCES "category" ("id");
158
+ ALTER TABLE "film_category" ADD FOREIGN KEY ("category_id") REFERENCES "category" ("id") DEFERRABLE INITIALLY IMMEDIATE;
159
159
 
160
- ALTER TABLE "film_text" ADD FOREIGN KEY ("film_id") REFERENCES "inventory" ("film_id");
160
+ ALTER TABLE "film_text" ADD FOREIGN KEY ("film_id") REFERENCES "inventory" ("film_id") DEFERRABLE INITIALLY IMMEDIATE;
161
161
 
162
- ALTER TABLE "film" ADD FOREIGN KEY ("language_id") REFERENCES "language" ("id");
162
+ ALTER TABLE "film" ADD FOREIGN KEY ("language_id") REFERENCES "language" ("id") DEFERRABLE INITIALLY IMMEDIATE;
163
163
 
164
- ALTER TABLE "film" ADD FOREIGN KEY ("original_language_id") REFERENCES "language" ("id");
164
+ ALTER TABLE "film" ADD FOREIGN KEY ("original_language_id") REFERENCES "language" ("id") DEFERRABLE INITIALLY IMMEDIATE;
165
165
 
166
- ALTER TABLE "film_actor" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id");
166
+ ALTER TABLE "film_actor" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id") DEFERRABLE INITIALLY IMMEDIATE;
167
167
 
168
- ALTER TABLE "film_actor" ADD FOREIGN KEY ("actor_id") REFERENCES "actor" ("id");
168
+ ALTER TABLE "film_actor" ADD FOREIGN KEY ("actor_id") REFERENCES "actor" ("id") DEFERRABLE INITIALLY IMMEDIATE;
169
169
 
170
- ALTER TABLE "inventory" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id");
170
+ ALTER TABLE "inventory" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id") DEFERRABLE INITIALLY IMMEDIATE;
171
171
 
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: SQL Server
3
- -- Generated at: 2026-02-12T07:26:20.894Z
3
+ -- Generated at: 2026-02-12T09:27:20.403Z
4
4
 
5
5
  CREATE SCHEMA [schemaB]
6
6
  GO
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: MySQL
3
- -- Generated at: 2026-02-12T07:26:22.125Z
3
+ -- Generated at: 2026-02-12T09:27:21.584Z
4
4
 
5
5
  CREATE SCHEMA `schemaB`;
6
6
 
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: Oracle
3
- -- Generated at: 2026-02-12T07:26:23.283Z
3
+ -- Generated at: 2026-02-12T09:27:22.777Z
4
4
 
5
5
  CREATE USER "C##test01"
6
6
  NO AUTHENTICATION
@@ -54,10 +54,10 @@ CREATE TABLE "schemaA"."locations" (
54
54
  "name" varchar
55
55
  );
56
56
 
57
- ALTER TABLE "schemaA"."products" ADD FOREIGN KEY ("name") REFERENCES "ecommerce"."users" ("id");
57
+ ALTER TABLE "schemaA"."products" ADD FOREIGN KEY ("name") REFERENCES "ecommerce"."users" ("id") DEFERRABLE INITIALLY IMMEDIATE;
58
58
 
59
- ALTER TABLE "schemaA"."locations" ADD FOREIGN KEY ("name") REFERENCES "users" ("id");
59
+ ALTER TABLE "schemaA"."locations" ADD FOREIGN KEY ("name") REFERENCES "users" ("id") DEFERRABLE INITIALLY IMMEDIATE;
60
60
 
61
- ALTER TABLE "ecommerce"."users" ADD FOREIGN KEY ("id") REFERENCES "users" ("id");
61
+ ALTER TABLE "ecommerce"."users" ADD FOREIGN KEY ("id") REFERENCES "users" ("id") DEFERRABLE INITIALLY IMMEDIATE;
62
62
 
63
- ALTER TABLE "ecommerce"."users" ADD CONSTRAINT "name_optional" FOREIGN KEY ("id") REFERENCES "users" ("name");
63
+ ALTER TABLE "ecommerce"."users" ADD CONSTRAINT "name_optional" FOREIGN KEY ("id") REFERENCES "users" ("name") DEFERRABLE INITIALLY IMMEDIATE;
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: PostgreSQL
3
- -- Generated at: 2026-02-12T07:26:24.539Z
3
+ -- Generated at: 2026-02-12T09:27:23.941Z
4
4
 
5
5
  CREATE SCHEMA "schemaB";
6
6
 
@@ -19,3 +19,27 @@ undefined
19
19
  2026-02-12T07:26:25.826Z
20
20
  undefined
21
21
 
22
+ 2026-02-12T07:42:18.881Z
23
+ undefined
24
+
25
+ 2026-02-12T07:43:38.931Z
26
+ undefined
27
+
28
+ 2026-02-12T07:45:00.071Z
29
+ undefined
30
+
31
+ 2026-02-12T08:36:34.030Z
32
+ undefined
33
+
34
+ 2026-02-12T09:15:38.227Z
35
+ undefined
36
+
37
+ 2026-02-12T09:20:38.050Z
38
+ undefined
39
+
40
+ 2026-02-12T09:25:33.253Z
41
+ undefined
42
+
43
+ 2026-02-12T09:27:25.107Z
44
+ undefined
45
+
@@ -19,3 +19,27 @@ undefined
19
19
  2026-02-12T07:26:27.252Z
20
20
  undefined
21
21
 
22
+ 2026-02-12T07:42:20.388Z
23
+ undefined
24
+
25
+ 2026-02-12T07:43:40.679Z
26
+ undefined
27
+
28
+ 2026-02-12T07:45:01.516Z
29
+ undefined
30
+
31
+ 2026-02-12T08:36:35.401Z
32
+ undefined
33
+
34
+ 2026-02-12T09:15:39.906Z
35
+ undefined
36
+
37
+ 2026-02-12T09:20:39.396Z
38
+ undefined
39
+
40
+ 2026-02-12T09:25:34.570Z
41
+ undefined
42
+
43
+ 2026-02-12T09:27:26.458Z
44
+ undefined
45
+
@@ -19,3 +19,27 @@ undefined
19
19
  2026-02-12T07:26:28.611Z
20
20
  undefined
21
21
 
22
+ 2026-02-12T07:42:22.007Z
23
+ undefined
24
+
25
+ 2026-02-12T07:43:42.250Z
26
+ undefined
27
+
28
+ 2026-02-12T07:45:02.966Z
29
+ undefined
30
+
31
+ 2026-02-12T08:36:36.764Z
32
+ undefined
33
+
34
+ 2026-02-12T09:15:41.478Z
35
+ undefined
36
+
37
+ 2026-02-12T09:20:40.742Z
38
+ undefined
39
+
40
+ 2026-02-12T09:25:36.176Z
41
+ undefined
42
+
43
+ 2026-02-12T09:27:27.945Z
44
+ undefined
45
+
@@ -19,3 +19,27 @@ undefined
19
19
  2026-02-12T07:26:30.009Z
20
20
  undefined
21
21
 
22
+ 2026-02-12T07:42:23.454Z
23
+ undefined
24
+
25
+ 2026-02-12T07:43:43.681Z
26
+ undefined
27
+
28
+ 2026-02-12T07:45:04.358Z
29
+ undefined
30
+
31
+ 2026-02-12T08:36:38.116Z
32
+ undefined
33
+
34
+ 2026-02-12T09:15:42.912Z
35
+ undefined
36
+
37
+ 2026-02-12T09:20:42.114Z
38
+ undefined
39
+
40
+ 2026-02-12T09:25:37.670Z
41
+ undefined
42
+
43
+ 2026-02-12T09:27:29.639Z
44
+ undefined
45
+
@@ -19,3 +19,27 @@ undefined
19
19
  2026-02-12T07:26:31.387Z
20
20
  undefined
21
21
 
22
+ 2026-02-12T07:42:24.790Z
23
+ undefined
24
+
25
+ 2026-02-12T07:43:45.144Z
26
+ undefined
27
+
28
+ 2026-02-12T07:45:05.763Z
29
+ undefined
30
+
31
+ 2026-02-12T08:36:39.463Z
32
+ undefined
33
+
34
+ 2026-02-12T09:15:44.415Z
35
+ undefined
36
+
37
+ 2026-02-12T09:20:43.495Z
38
+ undefined
39
+
40
+ 2026-02-12T09:25:39.129Z
41
+ undefined
42
+
43
+ 2026-02-12T09:27:31.322Z
44
+ undefined
45
+
@@ -19,3 +19,27 @@ undefined
19
19
  2026-02-12T07:26:32.796Z
20
20
  undefined
21
21
 
22
+ 2026-02-12T07:42:26.128Z
23
+ undefined
24
+
25
+ 2026-02-12T07:43:46.537Z
26
+ undefined
27
+
28
+ 2026-02-12T07:45:07.207Z
29
+ undefined
30
+
31
+ 2026-02-12T08:36:40.814Z
32
+ undefined
33
+
34
+ 2026-02-12T09:15:45.978Z
35
+ undefined
36
+
37
+ 2026-02-12T09:20:44.949Z
38
+ undefined
39
+
40
+ 2026-02-12T09:25:40.537Z
41
+ undefined
42
+
43
+ 2026-02-12T09:27:33.011Z
44
+ undefined
45
+
@@ -19,3 +19,27 @@ undefined
19
19
  2026-02-12T07:26:34.189Z
20
20
  undefined
21
21
 
22
+ 2026-02-12T07:42:27.457Z
23
+ undefined
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
44
+ undefined
45
+
@@ -19,3 +19,24 @@ undefined
19
19
  2026-02-12T07:27:04.839Z
20
20
  undefined
21
21
 
22
+ 2026-02-12T07:42:59.186Z
23
+ undefined
24
+
25
+ 2026-02-12T07:44:20.113Z
26
+ undefined
27
+
28
+ 2026-02-12T07:45:39.827Z
29
+ undefined
30
+
31
+ 2026-02-12T08:37:12.252Z
32
+ undefined
33
+
34
+ 2026-02-12T09:16:18.429Z
35
+ undefined
36
+
37
+ 2026-02-12T09:21:16.028Z
38
+ undefined
39
+
40
+ 2026-02-12T09:26:11.035Z
41
+ undefined
42
+
@@ -19,3 +19,24 @@ undefined
19
19
  2026-02-12T07:27:06.358Z
20
20
  undefined
21
21
 
22
+ 2026-02-12T07:43:00.672Z
23
+ undefined
24
+
25
+ 2026-02-12T07:44:21.667Z
26
+ undefined
27
+
28
+ 2026-02-12T07:45:41.358Z
29
+ undefined
30
+
31
+ 2026-02-12T08:37:13.715Z
32
+ undefined
33
+
34
+ 2026-02-12T09:16:19.938Z
35
+ undefined
36
+
37
+ 2026-02-12T09:21:17.446Z
38
+ undefined
39
+
40
+ 2026-02-12T09:26:12.550Z
41
+ undefined
42
+
@@ -19,3 +19,24 @@ undefined
19
19
  2026-02-12T07:27:07.772Z
20
20
  undefined
21
21
 
22
+ 2026-02-12T07:43:02.080Z
23
+ undefined
24
+
25
+ 2026-02-12T07:44:23.143Z
26
+ undefined
27
+
28
+ 2026-02-12T07:45:42.773Z
29
+ undefined
30
+
31
+ 2026-02-12T08:37:15.091Z
32
+ undefined
33
+
34
+ 2026-02-12T09:16:21.307Z
35
+ undefined
36
+
37
+ 2026-02-12T09:21:18.797Z
38
+ undefined
39
+
40
+ 2026-02-12T09:26:13.938Z
41
+ undefined
42
+
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.5";
1194
+ const version = "6.3.0-alpha.7";
1195
1195
  const description = "";
1196
1196
  const main = "lib/index.js";
1197
1197
  const license = "Apache-2.0";
@@ -1218,7 +1218,7 @@ const keywords = ["dbml", "dbml-cli"];
1218
1218
  const dependencies = {
1219
1219
  "@babel/cli": "^7.21.0",
1220
1220
  "@dbml/connector": "^6.3.0-alpha.1",
1221
- "@dbml/core": "^6.3.0-alpha.5",
1221
+ "@dbml/core": "^6.3.0-alpha.7",
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 = "a6f6eec49ffa2f32fa036fef65fad22e7c702527";
1232
+ const gitHead = "3d1585945f0f43144c2235c504cf4883b40afcfc";
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.5",
4
+ "version": "6.3.0-alpha.7",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "license": "Apache-2.0",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@babel/cli": "^7.21.0",
35
35
  "@dbml/connector": "^6.3.0-alpha.1",
36
- "@dbml/core": "^6.3.0-alpha.5",
36
+ "@dbml/core": "^6.3.0-alpha.7",
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": "a6f6eec49ffa2f32fa036fef65fad22e7c702527",
47
+ "gitHead": "3d1585945f0f43144c2235c504cf4883b40afcfc",
48
48
  "engines": {
49
49
  "node": ">=18"
50
50
  }