@dbml/cli 8.0.0-alpha.0 → 8.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__tests__/db2dbml/mssql/dbml-error.log +70 -0
- package/__tests__/db2dbml/mysql/dbml-error.log +91 -0
- package/__tests__/db2dbml/oracle/dbml-error.log +98 -0
- package/__tests__/db2dbml/postgres/dbml-error.log +56 -0
- package/__tests__/dbml2sql/filename --mysql --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filename --oracle --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filename --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filename --postgres --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filenames --mysql --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filenames --oracle --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filenames --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filenames --postgres --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/multiple_schema_mssql/out-files/multiple_schema.out.sql +1 -1
- package/__tests__/dbml2sql/multiple_schema_mysql/out-files/multiple_schema.out.sql +1 -1
- package/__tests__/dbml2sql/multiple_schema_oracle/out-files/multiple_schema.out.sql +1 -1
- package/__tests__/dbml2sql/multiple_schema_pg/out-files/multiple_schema.out.sql +1 -1
- package/__tests__/dbml2sql/syntax-error/dbml-error.log +46 -0
- package/__tests__/dbml2sql/syntax-error/stdout.txt +2 -2
- package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/dbml-error.log +38 -0
- package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/dbml-error.log +38 -0
- package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/dbml-error.log +38 -0
- package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/dbml-error.log +38 -0
- package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/dbml-error.log +38 -0
- package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/dbml-error.log +38 -0
- package/__tests__/sql2dbml/syntax-error/dbml-error.log +31 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +31 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +27 -0
- package/lib/index.js +23 -52
- package/package.json +4 -4
- package/src/NodeProjectLayout.ts +12 -76
- package/src/cli/connector.ts +1 -1
- package/src/cli/export.ts +3 -4
- package/src/helpers/logger.ts +5 -7
|
@@ -328,3 +328,73 @@ ConnectionError: Login failed for user 'SA'.
|
|
|
328
328
|
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
329
329
|
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
330
330
|
|
|
331
|
+
2026-05-06T08:11:36.669Z
|
|
332
|
+
ConnectionError: Login failed for user 'SA'.
|
|
333
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
334
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
335
|
+
at Object.onceWrapper (node:events:623:26)
|
|
336
|
+
at Connection.emit (node:events:508:28)
|
|
337
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
338
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
339
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
340
|
+
|
|
341
|
+
2026-05-06T08:14:33.007Z
|
|
342
|
+
ConnectionError: Login failed for user 'SA'.
|
|
343
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
344
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
345
|
+
at Object.onceWrapper (node:events:634:26)
|
|
346
|
+
at Connection.emit (node:events:519:28)
|
|
347
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
348
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
349
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
350
|
+
|
|
351
|
+
2026-05-06T08:18:07.404Z
|
|
352
|
+
ConnectionError: Login failed for user 'SA'.
|
|
353
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
354
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
355
|
+
at Object.onceWrapper (node:events:634:26)
|
|
356
|
+
at Connection.emit (node:events:519:28)
|
|
357
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
358
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
359
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
360
|
+
|
|
361
|
+
2026-05-06T10:17:43.520Z
|
|
362
|
+
ConnectionError: Login failed for user 'SA'.
|
|
363
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
364
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
365
|
+
at Object.onceWrapper (node:events:634:26)
|
|
366
|
+
at Connection.emit (node:events:519:28)
|
|
367
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
368
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
369
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
370
|
+
|
|
371
|
+
2026-05-07T08:41:25.410Z
|
|
372
|
+
ConnectionError: Login failed for user 'SA'.
|
|
373
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
374
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
375
|
+
at Object.onceWrapper (node:events:634:26)
|
|
376
|
+
at Connection.emit (node:events:519:28)
|
|
377
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
378
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
379
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
380
|
+
|
|
381
|
+
2026-05-07T08:43:23.029Z
|
|
382
|
+
ConnectionError: Login failed for user 'SA'.
|
|
383
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
384
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
385
|
+
at Object.onceWrapper (node:events:634:26)
|
|
386
|
+
at Connection.emit (node:events:519:28)
|
|
387
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
388
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
389
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
390
|
+
|
|
391
|
+
2026-05-12T10:00:51.950Z
|
|
392
|
+
ConnectionError: Login failed for user 'SA'.
|
|
393
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
394
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
395
|
+
at Object.onceWrapper (node:events:634:26)
|
|
396
|
+
at Connection.emit (node:events:519:28)
|
|
397
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
398
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
399
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
400
|
+
|
|
@@ -427,3 +427,94 @@ Error: Unknown database 'dbml_test'
|
|
|
427
427
|
at Object..js (node:internal/modules/cjs/loader:1893:10)
|
|
428
428
|
at Module.load (node:internal/modules/cjs/loader:1481:32)
|
|
429
429
|
|
|
430
|
+
2026-05-06T08:11:37.806Z
|
|
431
|
+
Error: Unknown database 'dbml_test'
|
|
432
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
433
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
434
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
435
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
436
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:55)
|
|
437
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1396:2)
|
|
438
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
439
|
+
at Module._compile (node:internal/modules/cjs/loader:1761:14)
|
|
440
|
+
at Object..js (node:internal/modules/cjs/loader:1893:10)
|
|
441
|
+
at Module.load (node:internal/modules/cjs/loader:1481:32)
|
|
442
|
+
|
|
443
|
+
2026-05-06T08:14:34.165Z
|
|
444
|
+
Error: Unknown database 'dbml_test'
|
|
445
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
446
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
447
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
448
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
449
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:55)
|
|
450
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1394:2)
|
|
451
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
452
|
+
at Module._compile (node:internal/modules/cjs/loader:1706:14)
|
|
453
|
+
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
454
|
+
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
455
|
+
|
|
456
|
+
2026-05-06T08:18:08.591Z
|
|
457
|
+
Error: Unknown database 'dbml_test'
|
|
458
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
459
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
460
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
461
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
462
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1168:55)
|
|
463
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1392:2)
|
|
464
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
465
|
+
at Module._compile (node:internal/modules/cjs/loader:1706:14)
|
|
466
|
+
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
467
|
+
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
468
|
+
|
|
469
|
+
2026-05-06T10:17:44.739Z
|
|
470
|
+
Error: Unknown database 'dbml_test'
|
|
471
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
472
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
473
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
474
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
475
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:55)
|
|
476
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1394:2)
|
|
477
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
478
|
+
at Module._compile (node:internal/modules/cjs/loader:1706:14)
|
|
479
|
+
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
480
|
+
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
481
|
+
|
|
482
|
+
2026-05-07T08:41:26.659Z
|
|
483
|
+
Error: Unknown database 'dbml_test'
|
|
484
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
485
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
486
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
487
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
488
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:55)
|
|
489
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1394:2)
|
|
490
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
491
|
+
at Module._compile (node:internal/modules/cjs/loader:1706:14)
|
|
492
|
+
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
493
|
+
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
494
|
+
|
|
495
|
+
2026-05-07T08:43:24.354Z
|
|
496
|
+
Error: Unknown database 'dbml_test'
|
|
497
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
498
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
499
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
500
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
501
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:55)
|
|
502
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1394:2)
|
|
503
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
504
|
+
at Module._compile (node:internal/modules/cjs/loader:1706:14)
|
|
505
|
+
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
506
|
+
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
507
|
+
|
|
508
|
+
2026-05-12T10:00:53.243Z
|
|
509
|
+
Error: Unknown database 'dbml_test'
|
|
510
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
511
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
512
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
513
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
514
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:55)
|
|
515
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1364:2)
|
|
516
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
517
|
+
at Module._compile (node:internal/modules/cjs/loader:1706:14)
|
|
518
|
+
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
519
|
+
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
520
|
+
|
|
@@ -460,3 +460,101 @@ connect ECONNREFUSED 127.0.0.1:1521
|
|
|
460
460
|
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
461
461
|
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
462
462
|
|
|
463
|
+
2026-05-06T08:11:39.015Z
|
|
464
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=1PgmNfi7ao5V4sMPe+LGwA==)
|
|
465
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
466
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
467
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
468
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
469
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
470
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
471
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
472
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
473
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
474
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
475
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
476
|
+
|
|
477
|
+
2026-05-06T08:14:35.329Z
|
|
478
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=g65tB2p9Tu0dZmQHLQ4ckA==)
|
|
479
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
480
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
481
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
482
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
483
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
484
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
485
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
486
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
487
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
488
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
489
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
490
|
+
|
|
491
|
+
2026-05-06T08:18:09.760Z
|
|
492
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=4lgiAlunfRIkmHSJUH/yAg==)
|
|
493
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
494
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
495
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
496
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
497
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
498
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
499
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
500
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
501
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
502
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
503
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
504
|
+
|
|
505
|
+
2026-05-06T10:17:45.991Z
|
|
506
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=KhaaLMFAF4Xr6LtuRWS10w==)
|
|
507
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
508
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
509
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
510
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
511
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
512
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
513
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
514
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
515
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
516
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
517
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
518
|
+
|
|
519
|
+
2026-05-07T08:41:27.934Z
|
|
520
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=q5/BbdXeIY8V1h5b6gCn2A==)
|
|
521
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
522
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
523
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
524
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
525
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
526
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
527
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
528
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
529
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
530
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
531
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
532
|
+
|
|
533
|
+
2026-05-07T08:43:25.617Z
|
|
534
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=dP1yZS9iyoYM54o7GGjNog==)
|
|
535
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
536
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
537
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
538
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
539
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
540
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
541
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
542
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
543
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
544
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
545
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
546
|
+
|
|
547
|
+
2026-05-12T10:00:54.495Z
|
|
548
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=Zb0hZR33/XKqh9553rBYiw==)
|
|
549
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
550
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
551
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
552
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
553
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
554
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
555
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
556
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
557
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
558
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
559
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
560
|
+
|
|
@@ -229,3 +229,59 @@ Error: PostgreSQL connection error: error: role "dbml" does not exist
|
|
|
229
229
|
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
230
230
|
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1168:22)
|
|
231
231
|
|
|
232
|
+
2026-05-06T08:11:40.136Z
|
|
233
|
+
Error: PostgreSQL connection error: error: role "dbml" does not exist
|
|
234
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
235
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
236
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
237
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:22)
|
|
238
|
+
|
|
239
|
+
2026-05-06T08:14:36.467Z
|
|
240
|
+
Error: PostgreSQL connection error: error: role "dbml" does not exist
|
|
241
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
242
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
243
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
244
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:22)
|
|
245
|
+
|
|
246
|
+
2026-05-06T08:18:10.912Z
|
|
247
|
+
Error: PostgreSQL connection error: error: role "dbml" does not exist
|
|
248
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
249
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
250
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
251
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1168:22)
|
|
252
|
+
|
|
253
|
+
2026-05-06T08:32:33.059Z
|
|
254
|
+
Error: PostgreSQL connection error: error: role "dbml" does not exist
|
|
255
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
256
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
257
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
258
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:22)
|
|
259
|
+
|
|
260
|
+
2026-05-06T10:17:47.199Z
|
|
261
|
+
Error: PostgreSQL connection error: error: role "dbml" does not exist
|
|
262
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
263
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
264
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
265
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:22)
|
|
266
|
+
|
|
267
|
+
2026-05-07T08:41:29.160Z
|
|
268
|
+
Error: PostgreSQL connection error: error: role "dbml" does not exist
|
|
269
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
270
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
271
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
272
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:22)
|
|
273
|
+
|
|
274
|
+
2026-05-07T08:43:26.795Z
|
|
275
|
+
Error: PostgreSQL connection error: error: role "dbml" does not exist
|
|
276
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
277
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
278
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
279
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:22)
|
|
280
|
+
|
|
281
|
+
2026-05-12T10:00:55.815Z
|
|
282
|
+
Error: PostgreSQL connection error: AggregateError
|
|
283
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
284
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
285
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
286
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:22)
|
|
287
|
+
|
|
@@ -100,3 +100,49 @@ undefined
|
|
|
100
100
|
2026-05-04T17:07:43.156Z
|
|
101
101
|
undefined
|
|
102
102
|
|
|
103
|
+
2026-05-06T08:10:56.542Z
|
|
104
|
+
|
|
105
|
+
ecommerce.dbml(17,24): Expect an identifier
|
|
106
|
+
ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
|
|
107
|
+
|
|
108
|
+
2026-05-06T08:13:50.647Z
|
|
109
|
+
|
|
110
|
+
ecommerce.dbml(17,24): Expect an identifier
|
|
111
|
+
ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
|
|
112
|
+
|
|
113
|
+
2026-05-06T08:16:15.497Z
|
|
114
|
+
|
|
115
|
+
ecommerce.dbml(17,24): Expect an identifier
|
|
116
|
+
ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
|
|
117
|
+
|
|
118
|
+
2026-05-06T08:17:23.525Z
|
|
119
|
+
undefined
|
|
120
|
+
|
|
121
|
+
2026-05-06T08:18:39.956Z
|
|
122
|
+
undefined
|
|
123
|
+
|
|
124
|
+
2026-05-06T08:31:51.201Z
|
|
125
|
+
|
|
126
|
+
ecommerce.dbml(17,24): Expect an identifier
|
|
127
|
+
ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
|
|
128
|
+
|
|
129
|
+
2026-05-06T10:17:00.549Z
|
|
130
|
+
|
|
131
|
+
ecommerce.dbml(17,24): Expect an identifier
|
|
132
|
+
ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
|
|
133
|
+
|
|
134
|
+
2026-05-07T08:40:38.665Z
|
|
135
|
+
|
|
136
|
+
ecommerce.dbml(17,24): Expect an identifier
|
|
137
|
+
ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
|
|
138
|
+
|
|
139
|
+
2026-05-07T08:42:33.135Z
|
|
140
|
+
|
|
141
|
+
ecommerce.dbml(17,24): Expect an identifier
|
|
142
|
+
ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
|
|
143
|
+
|
|
144
|
+
2026-05-12T10:00:04.107Z
|
|
145
|
+
|
|
146
|
+
ecommerce.dbml(17,24): Expect an identifier
|
|
147
|
+
ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
|
|
148
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
ERROR:
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ecommerce.dbml(17,24): Expect an identifier
|
|
3
|
+
ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
|
|
4
4
|
|
|
5
5
|
A complete log can be found in:
|
package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/dbml-error.log
CHANGED
|
@@ -106,3 +106,41 @@ undefined
|
|
|
106
106
|
2026-05-04T17:07:44.529Z
|
|
107
107
|
undefined
|
|
108
108
|
|
|
109
|
+
2026-05-06T08:10:57.871Z
|
|
110
|
+
|
|
111
|
+
You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
|
|
112
|
+
|
|
113
|
+
2026-05-06T08:13:52.010Z
|
|
114
|
+
|
|
115
|
+
You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
|
|
116
|
+
|
|
117
|
+
2026-05-06T08:16:16.922Z
|
|
118
|
+
|
|
119
|
+
You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
|
|
120
|
+
|
|
121
|
+
2026-05-06T08:17:24.977Z
|
|
122
|
+
undefined
|
|
123
|
+
|
|
124
|
+
2026-05-06T08:18:41.350Z
|
|
125
|
+
undefined
|
|
126
|
+
|
|
127
|
+
2026-05-06T08:31:52.703Z
|
|
128
|
+
|
|
129
|
+
You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
|
|
130
|
+
|
|
131
|
+
2026-05-06T10:17:02.003Z
|
|
132
|
+
|
|
133
|
+
You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
|
|
134
|
+
|
|
135
|
+
2026-05-07T08:40:40.063Z
|
|
136
|
+
|
|
137
|
+
You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
|
|
138
|
+
|
|
139
|
+
2026-05-07T08:42:34.694Z
|
|
140
|
+
|
|
141
|
+
You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
|
|
142
|
+
|
|
143
|
+
2026-05-12T10:00:05.690Z
|
|
144
|
+
|
|
145
|
+
You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
|
|
146
|
+
|
|
@@ -106,3 +106,41 @@ undefined
|
|
|
106
106
|
2026-05-04T17:07:45.891Z
|
|
107
107
|
undefined
|
|
108
108
|
|
|
109
|
+
2026-05-06T08:10:59.190Z
|
|
110
|
+
|
|
111
|
+
You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
|
|
112
|
+
|
|
113
|
+
2026-05-06T08:13:53.393Z
|
|
114
|
+
|
|
115
|
+
You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
|
|
116
|
+
|
|
117
|
+
2026-05-06T08:16:18.290Z
|
|
118
|
+
|
|
119
|
+
You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
|
|
120
|
+
|
|
121
|
+
2026-05-06T08:17:26.368Z
|
|
122
|
+
undefined
|
|
123
|
+
|
|
124
|
+
2026-05-06T08:18:42.669Z
|
|
125
|
+
undefined
|
|
126
|
+
|
|
127
|
+
2026-05-06T08:31:54.324Z
|
|
128
|
+
|
|
129
|
+
You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
|
|
130
|
+
|
|
131
|
+
2026-05-06T10:17:03.429Z
|
|
132
|
+
|
|
133
|
+
You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
|
|
134
|
+
|
|
135
|
+
2026-05-07T08:40:41.446Z
|
|
136
|
+
|
|
137
|
+
You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
|
|
138
|
+
|
|
139
|
+
2026-05-07T08:42:36.191Z
|
|
140
|
+
|
|
141
|
+
You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
|
|
142
|
+
|
|
143
|
+
2026-05-12T10:00:07.181Z
|
|
144
|
+
|
|
145
|
+
You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
|
|
146
|
+
|
package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/dbml-error.log
CHANGED
|
@@ -106,3 +106,41 @@ undefined
|
|
|
106
106
|
2026-05-04T17:07:47.280Z
|
|
107
107
|
undefined
|
|
108
108
|
|
|
109
|
+
2026-05-06T08:11:00.558Z
|
|
110
|
+
|
|
111
|
+
You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
|
|
112
|
+
|
|
113
|
+
2026-05-06T08:13:54.748Z
|
|
114
|
+
|
|
115
|
+
You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
|
|
116
|
+
|
|
117
|
+
2026-05-06T08:16:19.649Z
|
|
118
|
+
|
|
119
|
+
You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
|
|
120
|
+
|
|
121
|
+
2026-05-06T08:17:27.721Z
|
|
122
|
+
undefined
|
|
123
|
+
|
|
124
|
+
2026-05-06T08:18:44.046Z
|
|
125
|
+
undefined
|
|
126
|
+
|
|
127
|
+
2026-05-06T08:31:55.691Z
|
|
128
|
+
|
|
129
|
+
You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
|
|
130
|
+
|
|
131
|
+
2026-05-06T10:17:04.922Z
|
|
132
|
+
|
|
133
|
+
You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
|
|
134
|
+
|
|
135
|
+
2026-05-07T08:40:42.906Z
|
|
136
|
+
|
|
137
|
+
You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
|
|
138
|
+
|
|
139
|
+
2026-05-07T08:42:37.754Z
|
|
140
|
+
|
|
141
|
+
You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
|
|
142
|
+
|
|
143
|
+
2026-05-12T10:00:08.813Z
|
|
144
|
+
|
|
145
|
+
You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
|
|
146
|
+
|