@dbml/cli 8.0.0-alpha.13 → 8.0.0-alpha.15

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 (23) hide show
  1. package/__tests__/dbml2sql/filename --mysql --out-file/out-files/schema.sql +1 -1
  2. package/__tests__/dbml2sql/filename --oracle --out-file/out-files/schema.sql +1 -1
  3. package/__tests__/dbml2sql/filename --out-file/out-files/schema.sql +1 -1
  4. package/__tests__/dbml2sql/filename --postgres --out-file/out-files/schema.sql +1 -1
  5. package/__tests__/dbml2sql/filenames --mysql --out-file/out-files/schema.sql +1 -1
  6. package/__tests__/dbml2sql/filenames --oracle --out-file/out-files/schema.sql +1 -1
  7. package/__tests__/dbml2sql/filenames --out-file/out-files/schema.sql +1 -1
  8. package/__tests__/dbml2sql/filenames --postgres --out-file/out-files/schema.sql +1 -1
  9. package/__tests__/dbml2sql/multifile error entry-syntax-error/dbml-error.log +22 -0
  10. package/__tests__/dbml2sql/multifile error import-not-found/dbml-error.log +5212 -0
  11. package/__tests__/dbml2sql/multifile error imported-syntax-error/dbml-error.log +23 -0
  12. package/__tests__/dbml2sql/multifile error imported-syntax-error/in-files/broken.dbml +4 -0
  13. package/__tests__/dbml2sql/multifile error imported-syntax-error/in-files/main.dbml +6 -0
  14. package/__tests__/dbml2sql/multifile error imported-syntax-error/options.json +3 -0
  15. package/__tests__/dbml2sql/multifile error imported-syntax-error/stdout.txt +5 -0
  16. package/__tests__/dbml2sql/multifile error transitive-use-not-visible/dbml-error.log +12 -0
  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/out-files/multiple_schema.out.sql +1 -1
  21. package/__tests__/dbml2sql/syntax-error/dbml-error.log +16 -0
  22. package/lib/index.js +3 -3
  23. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: MySQL
3
- -- Generated at: 2026-05-14T08:46:58.261Z
3
+ -- Generated at: 2026-05-14T09:25:12.925Z
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-05-14T08:47:00.855Z
3
+ -- Generated at: 2026-05-14T09:25:15.418Z
4
4
 
5
5
  CREATE TABLE "orders" (
6
6
  "id" int GENERATED AS IDENTITY PRIMARY KEY,
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: PostgreSQL
3
- -- Generated at: 2026-05-14T08:47:03.414Z
3
+ -- Generated at: 2026-05-14T09:25:17.921Z
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-05-14T08:47:04.688Z
3
+ -- Generated at: 2026-05-14T09:25:19.160Z
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: MySQL
3
- -- Generated at: 2026-05-14T08:47:08.563Z
3
+ -- Generated at: 2026-05-14T09:25:22.977Z
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-05-14T08:47:11.336Z
3
+ -- Generated at: 2026-05-14T09:25:25.697Z
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-05-14T08:47:14.109Z
3
+ -- Generated at: 2026-05-14T09:25:28.383Z
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-05-14T08:47:15.500Z
3
+ -- Generated at: 2026-05-14T09:25:29.704Z
4
4
 
5
5
  CREATE TABLE "staff" (
6
6
  "id" int PRIMARY KEY,
@@ -68,3 +68,25 @@
68
68
  ./in-files/main.dbml(5,15): Expect an identifier
69
69
  ./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
70
70
 
71
+ 2026-05-14T09:17:17.515Z
72
+
73
+ ./in-files/main.dbml(5,15): Expect an identifier
74
+ ./in-files/main.dbml(5,15): Expect an identifier
75
+ ./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
76
+
77
+ 2026-05-14T09:17:42.081Z
78
+
79
+ ./in-files/main.dbml(5,15): Expect an identifier
80
+ ./in-files/main.dbml(5,15): Expect an identifier
81
+ ./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
82
+
83
+ 2026-05-14T09:24:38.125Z
84
+
85
+ ./in-files/main.dbml(5,15): Expect an identifier
86
+ ./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
87
+
88
+ 2026-05-14T09:25:37.568Z
89
+
90
+ ./in-files/main.dbml(5,15): Expect an identifier
91
+ ./in-files/main.dbml(4,11): Unknown column setting 'pk user_id int'
92
+