@dbml/cli 8.0.0-alpha.11 → 8.0.0-alpha.13
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 +49 -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/multifile aliased import stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile aliased import stdout/in-files/auth.dbml +4 -0
- package/__tests__/dbml2sql/multifile aliased import stdout/in-files/main.dbml +6 -0
- package/__tests__/dbml2sql/multifile aliased import stdout/options.json +3 -0
- package/__tests__/dbml2sql/multifile aliased import stdout/stdout.txt +12 -0
- package/__tests__/dbml2sql/multifile circular import stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile circular import stdout/in-files/a.dbml +6 -0
- package/__tests__/dbml2sql/multifile circular import stdout/in-files/b.dbml +6 -0
- package/__tests__/dbml2sql/multifile circular import stdout/options.json +3 -0
- package/__tests__/dbml2sql/multifile circular import stdout/stdout.txt +14 -0
- package/__tests__/dbml2sql/multifile error entry-syntax-error/dbml-error.log +70 -0
- package/__tests__/dbml2sql/multifile error entry-syntax-error/in-files/lib.dbml +4 -0
- package/__tests__/dbml2sql/multifile error entry-syntax-error/in-files/main.dbml +6 -0
- package/__tests__/dbml2sql/multifile error entry-syntax-error/options.json +3 -0
- package/__tests__/dbml2sql/multifile error entry-syntax-error/stdout.txt +5 -0
- package/__tests__/dbml2sql/multifile error import-not-found/dbml-error.log +68 -0
- package/__tests__/dbml2sql/multifile error import-not-found/in-files/main.dbml +5 -0
- package/__tests__/dbml2sql/multifile error import-not-found/options.json +3 -0
- package/__tests__/dbml2sql/multifile error import-not-found/stdout.txt +4 -0
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/dbml-error.log +12 -0
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/in-files/base.dbml +6 -0
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/in-files/main.dbml +3 -0
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/in-files/types.dbml +4 -0
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/options.json +3 -0
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/stdout.txt +4 -0
- package/__tests__/dbml2sql/multifile records pulling stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile records pulling stdout/in-files/base.dbml +9 -0
- package/__tests__/dbml2sql/multifile records pulling stdout/in-files/main.dbml +6 -0
- package/__tests__/dbml2sql/multifile records pulling stdout/options.json +3 -0
- package/__tests__/dbml2sql/multifile records pulling stdout/stdout.txt +23 -0
- package/__tests__/dbml2sql/multifile refs across files stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile refs across files stdout/in-files/main.dbml +2 -0
- package/__tests__/dbml2sql/multifile refs across files stdout/in-files/orders.dbml +8 -0
- package/__tests__/dbml2sql/multifile refs across files stdout/in-files/users.dbml +4 -0
- package/__tests__/dbml2sql/multifile refs across files stdout/options.json +3 -0
- package/__tests__/dbml2sql/multifile refs across files stdout/stdout.txt +12 -0
- package/__tests__/dbml2sql/multifile schema pulling stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile schema pulling stdout/in-files/auth.dbml +9 -0
- package/__tests__/dbml2sql/multifile schema pulling stdout/in-files/main.dbml +3 -0
- package/__tests__/dbml2sql/multifile schema pulling stdout/options.json +3 -0
- package/__tests__/dbml2sql/multifile schema pulling stdout/stdout.txt +14 -0
- package/__tests__/dbml2sql/multifile tablegroup pulling stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile tablegroup pulling stdout/in-files/base.dbml +14 -0
- package/__tests__/dbml2sql/multifile tablegroup pulling stdout/in-files/main.dbml +1 -0
- package/__tests__/dbml2sql/multifile tablegroup pulling stdout/options.json +3 -0
- package/__tests__/dbml2sql/multifile tablegroup pulling stdout/stdout.txt +12 -0
- package/__tests__/dbml2sql/multifile transitive reuse stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile transitive reuse stdout/in-files/base.dbml +6 -0
- package/__tests__/dbml2sql/multifile transitive reuse stdout/in-files/main.dbml +7 -0
- package/__tests__/dbml2sql/multifile transitive reuse stdout/in-files/types.dbml +4 -0
- package/__tests__/dbml2sql/multifile transitive reuse stdout/options.json +3 -0
- package/__tests__/dbml2sql/multifile transitive reuse stdout/stdout.txt +20 -0
- 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/single file stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/single file stdout/in-files/schema.dbml +11 -0
- package/__tests__/dbml2sql/single file stdout/options.json +3 -0
- package/__tests__/dbml2sql/single file stdout/stdout.txt +14 -0
- package/__tests__/dbml2sql/syntax-error/dbml-error.log +80 -0
- package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/dbml-error.log +28 -0
- package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/dbml-error.log +28 -0
- package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/dbml-error.log +28 -0
- package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/dbml-error.log +28 -0
- package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/dbml-error.log +28 -0
- package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/dbml-error.log +28 -0
- package/__tests__/sql2dbml/syntax-error/dbml-error.log +28 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +28 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +28 -0
- package/lib/index.js +25 -21
- package/package.json +4 -4
- package/src/NodeProjectLayout.ts +33 -7
- package/src/cli/export.ts +4 -5
- package/src/helpers/logger.ts +14 -5
|
@@ -398,3 +398,73 @@ ConnectionError: Login failed for user 'SA'.
|
|
|
398
398
|
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
399
399
|
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
400
400
|
|
|
401
|
+
2026-05-14T03:42:32.407Z
|
|
402
|
+
ConnectionError: Login failed for user 'SA'.
|
|
403
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
404
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
405
|
+
at Object.onceWrapper (node:events:634:26)
|
|
406
|
+
at Connection.emit (node:events:519:28)
|
|
407
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
408
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
409
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
410
|
+
|
|
411
|
+
2026-05-14T03:44:39.079Z
|
|
412
|
+
ConnectionError: Login failed for user 'SA'.
|
|
413
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
414
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
415
|
+
at Object.onceWrapper (node:events:634:26)
|
|
416
|
+
at Connection.emit (node:events:519:28)
|
|
417
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
418
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
419
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
420
|
+
|
|
421
|
+
2026-05-14T03:45:54.039Z
|
|
422
|
+
ConnectionError: Login failed for user 'SA'.
|
|
423
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
424
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
425
|
+
at Object.onceWrapper (node:events:634:26)
|
|
426
|
+
at Connection.emit (node:events:519:28)
|
|
427
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
428
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
429
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
430
|
+
|
|
431
|
+
2026-05-14T08:29:00.051Z
|
|
432
|
+
ConnectionError: Login failed for user 'SA'.
|
|
433
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
434
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
435
|
+
at Object.onceWrapper (node:events:634:26)
|
|
436
|
+
at Connection.emit (node:events:519:28)
|
|
437
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
438
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
439
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
440
|
+
|
|
441
|
+
2026-05-14T08:30:24.744Z
|
|
442
|
+
ConnectionError: Login failed for user 'SA'.
|
|
443
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
444
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
445
|
+
at Object.onceWrapper (node:events:634:26)
|
|
446
|
+
at Connection.emit (node:events:519:28)
|
|
447
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
448
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
449
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
450
|
+
|
|
451
|
+
2026-05-14T08:37:12.867Z
|
|
452
|
+
ConnectionError: Login failed for user 'SA'.
|
|
453
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
454
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
455
|
+
at Object.onceWrapper (node:events:634:26)
|
|
456
|
+
at Connection.emit (node:events:519:28)
|
|
457
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
458
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
459
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
460
|
+
|
|
461
|
+
2026-05-14T08:48:23.222Z
|
|
462
|
+
ConnectionError: Login failed for user 'SA'.
|
|
463
|
+
at /home/huydna/projects/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
464
|
+
at Connection.onConnect (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
465
|
+
at Object.onceWrapper (node:events:634:26)
|
|
466
|
+
at Connection.emit (node:events:519:28)
|
|
467
|
+
at Connection.emit (/home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
468
|
+
at /home/huydna/projects/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
469
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
470
|
+
|
|
@@ -518,3 +518,94 @@ Error: Unknown database 'dbml_test'
|
|
|
518
518
|
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
519
519
|
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
520
520
|
|
|
521
|
+
2026-05-14T03:42:33.660Z
|
|
522
|
+
Error: Unknown database 'dbml_test'
|
|
523
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
524
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
525
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
526
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
527
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:55)
|
|
528
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1364:2)
|
|
529
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
530
|
+
at Module._compile (node:internal/modules/cjs/loader:1706:14)
|
|
531
|
+
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
532
|
+
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
533
|
+
|
|
534
|
+
2026-05-14T03:44:40.573Z
|
|
535
|
+
Error: Unknown database 'dbml_test'
|
|
536
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
537
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
538
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
539
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
540
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:55)
|
|
541
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1364:2)
|
|
542
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
543
|
+
at Module._compile (node:internal/modules/cjs/loader:1706:14)
|
|
544
|
+
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
545
|
+
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
546
|
+
|
|
547
|
+
2026-05-14T03:45:55.256Z
|
|
548
|
+
Error: Unknown database 'dbml_test'
|
|
549
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
550
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
551
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
552
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
553
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:55)
|
|
554
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1364:2)
|
|
555
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
556
|
+
at Module._compile (node:internal/modules/cjs/loader:1706:14)
|
|
557
|
+
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
558
|
+
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
559
|
+
|
|
560
|
+
2026-05-14T08:29:01.317Z
|
|
561
|
+
Error: Unknown database 'dbml_test'
|
|
562
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
563
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
564
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
565
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
566
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1168:55)
|
|
567
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1361:2)
|
|
568
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
569
|
+
at Module._compile (node:internal/modules/cjs/loader:1706:14)
|
|
570
|
+
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
571
|
+
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
572
|
+
|
|
573
|
+
2026-05-14T08:30:25.915Z
|
|
574
|
+
Error: Unknown database 'dbml_test'
|
|
575
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
576
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
577
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
578
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
579
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1168:55)
|
|
580
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1361:2)
|
|
581
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
582
|
+
at Module._compile (node:internal/modules/cjs/loader:1706:14)
|
|
583
|
+
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
584
|
+
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
585
|
+
|
|
586
|
+
2026-05-14T08:37:14.122Z
|
|
587
|
+
Error: Unknown database 'dbml_test'
|
|
588
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
589
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
590
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
591
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
592
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1168:55)
|
|
593
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1361:2)
|
|
594
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
595
|
+
at Module._compile (node:internal/modules/cjs/loader:1706:14)
|
|
596
|
+
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
597
|
+
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
598
|
+
|
|
599
|
+
2026-05-14T08:48:24.358Z
|
|
600
|
+
Error: Unknown database 'dbml_test'
|
|
601
|
+
at c (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:47740)
|
|
602
|
+
at Fr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3241:52036)
|
|
603
|
+
at Xr (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3360:500)
|
|
604
|
+
at Module.Hi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3739:1082)
|
|
605
|
+
at connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1168:55)
|
|
606
|
+
at Module.db2dbml (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1361:2)
|
|
607
|
+
at Object.<anonymous> (/home/huydna/projects/dbml/packages/dbml-cli/bin/db2dbml.js:3:19)
|
|
608
|
+
at Module._compile (node:internal/modules/cjs/loader:1706:14)
|
|
609
|
+
at Object..js (node:internal/modules/cjs/loader:1839:10)
|
|
610
|
+
at Module.load (node:internal/modules/cjs/loader:1441:32)
|
|
611
|
+
|
|
@@ -558,3 +558,101 @@ connect ECONNREFUSED 127.0.0.1:1521
|
|
|
558
558
|
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
559
559
|
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
560
560
|
|
|
561
|
+
2026-05-14T03:42:34.963Z
|
|
562
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=OfWO6lu7OqCRQfJ5bxCLsQ==)
|
|
563
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
564
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
565
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
566
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
567
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
568
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
569
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
570
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
571
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
572
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
573
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
574
|
+
|
|
575
|
+
2026-05-14T03:44:42.770Z
|
|
576
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=Nx99gMX9BfjCeqFB601LCQ==)
|
|
577
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
578
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
579
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
580
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
581
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
582
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
583
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
584
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
585
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
586
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
587
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
588
|
+
|
|
589
|
+
2026-05-14T03:45:56.470Z
|
|
590
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=qMalF35i/E44tcxcHz1P5w==)
|
|
591
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
592
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
593
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
594
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
595
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
596
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
597
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
598
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
599
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
600
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
601
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
602
|
+
|
|
603
|
+
2026-05-14T08:29:02.570Z
|
|
604
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=NYtHMlphoeLU0CeF+4/HzA==)
|
|
605
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
606
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
607
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
608
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
609
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
610
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
611
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
612
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
613
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
614
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
615
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
616
|
+
|
|
617
|
+
2026-05-14T08:30:27.153Z
|
|
618
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=5g8UTArUMmLj6Fzk/z7DMA==)
|
|
619
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
620
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
621
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
622
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
623
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
624
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
625
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
626
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
627
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
628
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
629
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
630
|
+
|
|
631
|
+
2026-05-14T08:37:15.318Z
|
|
632
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=oN1plKpYXoht1+Ei0G9/sA==)
|
|
633
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
634
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
635
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
636
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
637
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
638
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
639
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
640
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
641
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
642
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
643
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
644
|
+
|
|
645
|
+
2026-05-14T08:48:25.540Z
|
|
646
|
+
Error: NJS-503: connection to host 127.0.0.1 port 1521 could not be established. (CONNECTION_ID=zvclV++QM6OrOnpAAvlE3g==)
|
|
647
|
+
connect ECONNREFUSED 127.0.0.1:1521
|
|
648
|
+
at Object.throwErr (/home/huydna/projects/dbml/node_modules/oracledb/lib/errors.js:776:10)
|
|
649
|
+
at NTTCP.ntConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:206:16)
|
|
650
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
651
|
+
at async NTTCP.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js:222:7)
|
|
652
|
+
at async NetworkSession.transportConnect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:182:5)
|
|
653
|
+
at async NetworkSession.connect2 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:222:7)
|
|
654
|
+
at async NetworkSession.connect1 (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:336:23)
|
|
655
|
+
at async NetworkSession.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/sqlnet/networkSession.js:623:5)
|
|
656
|
+
at async ThinConnectionImpl.connect (/home/huydna/projects/dbml/node_modules/oracledb/lib/thin/connection.js:859:5)
|
|
657
|
+
at async getConnection (/home/huydna/projects/dbml/node_modules/oracledb/lib/oracledb.js:791:3)
|
|
658
|
+
|
|
@@ -285,3 +285,52 @@ Error: PostgreSQL connection error: AggregateError
|
|
|
285
285
|
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
286
286
|
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:22)
|
|
287
287
|
|
|
288
|
+
2026-05-14T03:42:36.188Z
|
|
289
|
+
Error: PostgreSQL connection error: AggregateError
|
|
290
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
291
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
292
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
293
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:22)
|
|
294
|
+
|
|
295
|
+
2026-05-14T03:44:44.410Z
|
|
296
|
+
Error: PostgreSQL connection error: AggregateError
|
|
297
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
298
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
299
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
300
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:22)
|
|
301
|
+
|
|
302
|
+
2026-05-14T03:45:57.724Z
|
|
303
|
+
Error: PostgreSQL connection error: AggregateError
|
|
304
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
305
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
306
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
307
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1170:22)
|
|
308
|
+
|
|
309
|
+
2026-05-14T08:29:03.831Z
|
|
310
|
+
Error: PostgreSQL connection error: AggregateError
|
|
311
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
312
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
313
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
314
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1168:22)
|
|
315
|
+
|
|
316
|
+
2026-05-14T08:30:28.331Z
|
|
317
|
+
Error: PostgreSQL connection error: AggregateError
|
|
318
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
319
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
320
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
321
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1168:22)
|
|
322
|
+
|
|
323
|
+
2026-05-14T08:37:16.523Z
|
|
324
|
+
Error: PostgreSQL connection error: AggregateError
|
|
325
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
326
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
327
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
328
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1168:22)
|
|
329
|
+
|
|
330
|
+
2026-05-14T08:48:26.684Z
|
|
331
|
+
Error: PostgreSQL connection error: AggregateError
|
|
332
|
+
at vi (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3484:2977)
|
|
333
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
334
|
+
at async Di (/home/huydna/projects/dbml/packages/dbml-connector/dist/index.js:3701:279)
|
|
335
|
+
at async connectionHandler (/home/huydna/projects/dbml/packages/dbml-cli/lib/index.js:1168:22)
|
|
336
|
+
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
CREATE TABLE "A" (
|
|
2
|
+
"id" int PRIMARY KEY,
|
|
3
|
+
"b_id" int
|
|
4
|
+
);
|
|
5
|
+
|
|
6
|
+
CREATE TABLE "B" (
|
|
7
|
+
"id" int PRIMARY KEY,
|
|
8
|
+
"a_id" int
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
ALTER TABLE "A" ADD FOREIGN KEY ("b_id") REFERENCES "B" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
12
|
+
|
|
13
|
+
ALTER TABLE "B" ADD FOREIGN KEY ("a_id") REFERENCES "A" ("id") DEFERRABLE INITIALLY IMMEDIATE;
|
|
14
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
2026-05-14T08:24:12.026Z
|
|
2
|
+
|
|
3
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
4
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
5
|
+
|
|
6
|
+
2026-05-14T08:24:50.143Z
|
|
7
|
+
|
|
8
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
9
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
10
|
+
|
|
11
|
+
2026-05-14T08:25:30.846Z
|
|
12
|
+
|
|
13
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
14
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
15
|
+
|
|
16
|
+
2026-05-14T08:27:27.270Z
|
|
17
|
+
|
|
18
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
19
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
20
|
+
|
|
21
|
+
2026-05-14T08:28:07.657Z
|
|
22
|
+
|
|
23
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
24
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
25
|
+
|
|
26
|
+
2026-05-14T08:29:33.572Z
|
|
27
|
+
|
|
28
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
29
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
30
|
+
|
|
31
|
+
2026-05-14T08:35:30.939Z
|
|
32
|
+
|
|
33
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
34
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
35
|
+
|
|
36
|
+
2026-05-14T08:36:16.069Z
|
|
37
|
+
|
|
38
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
39
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
40
|
+
|
|
41
|
+
2026-05-14T08:39:23.228Z
|
|
42
|
+
|
|
43
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
44
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
45
|
+
|
|
46
|
+
2026-05-14T08:42:08.604Z
|
|
47
|
+
|
|
48
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
49
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
50
|
+
|
|
51
|
+
2026-05-14T08:42:53.495Z
|
|
52
|
+
|
|
53
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
54
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
55
|
+
|
|
56
|
+
2026-05-14T08:44:23.336Z
|
|
57
|
+
|
|
58
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
59
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
60
|
+
|
|
61
|
+
2026-05-14T08:46:36.316Z
|
|
62
|
+
|
|
63
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
64
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
65
|
+
|
|
66
|
+
2026-05-14T08:47:23.732Z
|
|
67
|
+
|
|
68
|
+
./in-files/main.dbml(5,15): Expect an identifier
|
|
69
|
+
./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
|
|
70
|
+
|