@dbml/cli 8.3.0 → 9.0.0-alpha.1
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/LICENSE +0 -0
- package/README.md +0 -0
- package/__test__/dbml2sql/filename --mysql --out-file/dbml-error.log +36 -0
- package/{__tests__ → __test__}/dbml2sql/filename --mysql --out-file/out-files/schema.sql +1 -1
- package/{__tests__/dbml2sql/filename --mysql --out-file → __test__/dbml2sql/filename --mysql stdout}/dbml-error.log +0 -0
- package/{__tests__/dbml2sql/filename --mysql stdout → __test__/dbml2sql/filename --oracle --out-file}/dbml-error.log +0 -0
- package/{__tests__ → __test__}/dbml2sql/filename --oracle --out-file/out-files/schema.sql +7 -7
- package/{__tests__/dbml2sql/filename --oracle --out-file → __test__/dbml2sql/filename --oracle stdout}/dbml-error.log +0 -0
- package/__test__/dbml2sql/filename --out-file/dbml-error.log +36 -0
- package/{__tests__ → __test__}/dbml2sql/filename --out-file/out-files/schema.sql +7 -7
- package/__test__/dbml2sql/filename --postgres --out-file/dbml-error.log +24 -0
- package/{__tests__ → __test__}/dbml2sql/filename --postgres --out-file/out-files/schema.sql +7 -7
- package/{__tests__/dbml2sql/filename --oracle stdout → __test__/dbml2sql/filename --postgres stdout}/dbml-error.log +0 -0
- package/{__tests__/dbml2sql/filename --out-file → __test__/dbml2sql/filename stdout}/dbml-error.log +0 -0
- package/__test__/dbml2sql/filenames --mysql --out-file/dbml-error.log +24 -0
- package/{__tests__ → __test__}/dbml2sql/filenames --mysql --out-file/out-files/schema.sql +1 -1
- package/{__tests__/dbml2sql/filename --postgres --out-file → __test__/dbml2sql/filenames --mysql stdout}/dbml-error.log +0 -0
- package/{__tests__/dbml2sql/filename --postgres stdout → __test__/dbml2sql/filenames --oracle --out-file}/dbml-error.log +0 -0
- package/{__tests__ → __test__}/dbml2sql/filenames --oracle --out-file/out-files/schema.sql +16 -16
- package/{__tests__/dbml2sql/filename stdout → __test__/dbml2sql/filenames --oracle stdout}/dbml-error.log +0 -0
- package/__test__/dbml2sql/filenames --out-file/dbml-error.log +24 -0
- package/{__tests__ → __test__}/dbml2sql/filenames --out-file/out-files/schema.sql +16 -16
- package/__test__/dbml2sql/filenames --postgres --out-file/dbml-error.log +24 -0
- package/{__tests__ → __test__}/dbml2sql/filenames --postgres --out-file/out-files/schema.sql +16 -16
- package/{__tests__/dbml2sql/filenames --mysql --out-file → __test__/dbml2sql/filenames --postgres stdout}/dbml-error.log +0 -0
- package/{__tests__/dbml2sql/filenames --mysql stdout → __test__/dbml2sql/filenames stdout}/dbml-error.log +0 -0
- package/__test__/dbml2sql/multiple_schema_mssql/dbml-error.log +24 -0
- package/{__tests__ → __test__}/dbml2sql/multiple_schema_mssql/out-files/multiple_schema.out.sql +1 -1
- package/__test__/dbml2sql/multiple_schema_mysql/dbml-error.log +24 -0
- package/{__tests__ → __test__}/dbml2sql/multiple_schema_mysql/out-files/multiple_schema.out.sql +1 -1
- package/{__tests__/dbml2sql/filenames --oracle --out-file → __test__/dbml2sql/multiple_schema_oracle}/dbml-error.log +0 -0
- package/{__tests__ → __test__}/dbml2sql/multiple_schema_oracle/out-files/multiple_schema.out.sql +10 -10
- package/__test__/dbml2sql/multiple_schema_pg/dbml-error.log +24 -0
- package/{__tests__ → __test__}/dbml2sql/multiple_schema_pg/out-files/multiple_schema.out.sql +7 -7
- package/__test__/dbml2sql/syntax-error/dbml-error.log +2112 -0
- package/__test__/sql2dbml/filename --mssql --out-file/dbml-error.log +51 -0
- package/{__tests__ → __test__}/sql2dbml/filename --mssql --out-file/out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filename --mysql --out-file/dbml-error.log +24 -0
- package/{__tests__ → __test__}/sql2dbml/filename --mysql --out-file/out-files/schema.dbml +0 -0
- package/{__tests__/dbml2sql/filenames --oracle stdout → __test__/sql2dbml/filename --mysql stdout}/dbml-error.log +0 -0
- package/__test__/sql2dbml/filename --out-file/dbml-error.log +24 -0
- package/{__tests__ → __test__}/sql2dbml/filename --out-file/out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filename --postgres --out-file/dbml-error.log +24 -0
- package/{__tests__ → __test__}/sql2dbml/filename --postgres --out-file/out-files/schema.dbml +0 -0
- package/{__tests__/dbml2sql/filenames --out-file → __test__/sql2dbml/filename --postgres stdout}/dbml-error.log +0 -0
- package/__test__/sql2dbml/filename --snowflake stdout/dbml-error.log +54 -0
- package/{__tests__/dbml2sql/filenames --postgres --out-file → __test__/sql2dbml/filename stdout}/dbml-error.log +0 -0
- package/__test__/sql2dbml/filenames --mysql --out-file/dbml-error.log +24 -0
- package/{__tests__ → __test__}/sql2dbml/filenames --mysql --out-file/out-files/schema.dbml +0 -0
- package/{__tests__/dbml2sql/filenames --postgres stdout → __test__/sql2dbml/filenames --mysql stdout}/dbml-error.log +0 -0
- package/__test__/sql2dbml/filenames --out-file/dbml-error.log +24 -0
- package/{__tests__ → __test__}/sql2dbml/filenames --out-file/out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filenames --postgres --out-file/dbml-error.log +24 -0
- package/{__tests__ → __test__}/sql2dbml/filenames --postgres --out-file/out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filenames --postgres stdout/dbml-error.log +3 -0
- package/{__tests__/dbml2sql → __test__/sql2dbml}/filenames stdout/dbml-error.log +0 -0
- package/__test__/sql2dbml/multiple_schema_mssql/dbml-error.log +121 -0
- package/{__tests__ → __test__}/sql2dbml/multiple_schema_mssql/out-files/multiple_schema.out.dbml +56 -8
- package/__test__/sql2dbml/multiple_schema_mysql/dbml-error.log +104 -0
- package/{__tests__ → __test__}/sql2dbml/multiple_schema_mysql/out-files/multiple_schema.out.dbml +0 -0
- package/__test__/sql2dbml/multiple_schema_pg/dbml-error.log +131 -0
- package/{__tests__ → __test__}/sql2dbml/multiple_schema_pg/out-files/multiple_schema.out.dbml +0 -0
- package/__test__/sql2dbml/syntax-error/dbml-error.log +2088 -0
- package/__test__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +36 -0
- package/__test__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +39 -0
- package/__tests__/cli.test.ts +0 -0
- package/__tests__/db2dbml/mssql/expect-out-files/schema.dbml +0 -0
- package/__tests__/db2dbml/mssql/options.json +0 -0
- package/__tests__/db2dbml/mssql/schema.sql +0 -0
- package/__tests__/db2dbml/mssql/stdout.txt +0 -0
- package/__tests__/db2dbml/mysql/expect-out-files/schema.dbml +0 -0
- package/__tests__/db2dbml/mysql/options.json +0 -0
- package/__tests__/db2dbml/mysql/schema.sql +0 -0
- package/__tests__/db2dbml/mysql/stdout.txt +0 -0
- package/__tests__/db2dbml/oracle/expect-out-files/schema.dbml +0 -0
- package/__tests__/db2dbml/oracle/options.json +0 -0
- package/__tests__/db2dbml/oracle/schema.sql +0 -0
- package/__tests__/db2dbml/oracle/stdout.txt +0 -0
- package/__tests__/db2dbml/postgres/expect-out-files/schema.dbml +0 -0
- package/__tests__/db2dbml/postgres/options.json +0 -0
- package/__tests__/db2dbml/postgres/schema.sql +0 -0
- package/__tests__/db2dbml/postgres/stdout.txt +0 -0
- package/__tests__/db2dbml_bin.js +0 -0
- package/__tests__/dbml2sql/filename --mysql --out-file/expect-out-files/schema.sql +0 -0
- package/__tests__/dbml2sql/filename --mysql --out-file/in-files/schema.dbml +0 -0
- package/__tests__/dbml2sql/filename --mysql --out-file/options.json +0 -0
- package/__tests__/dbml2sql/filename --mysql --out-file/stdout.txt +0 -0
- package/__tests__/dbml2sql/filename --mysql stdout/in-files/schema.dbml +0 -0
- package/__tests__/dbml2sql/filename --mysql stdout/options.json +0 -0
- package/__tests__/dbml2sql/filename --mysql stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/filename --oracle --out-file/expect-out-files/schema.sql +0 -0
- package/__tests__/dbml2sql/filename --oracle --out-file/in-files/schema.dbml +0 -0
- package/__tests__/dbml2sql/filename --oracle --out-file/options.json +0 -0
- package/__tests__/dbml2sql/filename --oracle --out-file/stdout.txt +0 -0
- package/__tests__/dbml2sql/filename --oracle stdout/in-files/schema.dbml +0 -0
- package/__tests__/dbml2sql/filename --oracle stdout/options.json +0 -0
- package/__tests__/dbml2sql/filename --oracle stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/filename --out-file/expect-out-files/schema.sql +0 -0
- package/__tests__/dbml2sql/filename --out-file/in-files/schema.dbml +0 -0
- package/__tests__/dbml2sql/filename --out-file/options.json +0 -0
- package/__tests__/dbml2sql/filename --out-file/stdout.txt +0 -0
- package/__tests__/dbml2sql/filename --postgres --out-file/expect-out-files/schema.sql +0 -0
- package/__tests__/dbml2sql/filename --postgres --out-file/in-files/schema.dbml +0 -0
- package/__tests__/dbml2sql/filename --postgres --out-file/options.json +0 -0
- package/__tests__/dbml2sql/filename --postgres --out-file/stdout.txt +0 -0
- package/__tests__/dbml2sql/filename --postgres stdout/in-files/schema.dbml +0 -0
- package/__tests__/dbml2sql/filename --postgres stdout/options.json +0 -0
- package/__tests__/dbml2sql/filename --postgres stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/filename stdout/in-files/schema.dbml +0 -0
- package/__tests__/dbml2sql/filename stdout/options.json +0 -0
- package/__tests__/dbml2sql/filename stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/filenames --mysql --out-file/expect-out-files/schema.sql +0 -0
- package/__tests__/dbml2sql/filenames --mysql --out-file/in-files/business.dbml +0 -0
- package/__tests__/dbml2sql/filenames --mysql --out-file/in-files/customer.dbml +0 -0
- package/__tests__/dbml2sql/filenames --mysql --out-file/in-files/inventory.dbml +0 -0
- package/__tests__/dbml2sql/filenames --mysql --out-file/options.json +0 -0
- package/__tests__/dbml2sql/filenames --mysql --out-file/stdout.txt +0 -0
- package/__tests__/dbml2sql/filenames --mysql stdout/in-files/business.dbml +0 -0
- package/__tests__/dbml2sql/filenames --mysql stdout/in-files/customer.dbml +0 -0
- package/__tests__/dbml2sql/filenames --mysql stdout/in-files/inventory.dbml +0 -0
- package/__tests__/dbml2sql/filenames --mysql stdout/options.json +0 -0
- package/__tests__/dbml2sql/filenames --mysql stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/filenames --oracle --out-file/expect-out-files/schema.sql +0 -0
- package/__tests__/dbml2sql/filenames --oracle --out-file/in-files/business.dbml +0 -0
- package/__tests__/dbml2sql/filenames --oracle --out-file/in-files/customer.dbml +0 -0
- package/__tests__/dbml2sql/filenames --oracle --out-file/in-files/inventory.dbml +0 -0
- package/__tests__/dbml2sql/filenames --oracle --out-file/options.json +0 -0
- package/__tests__/dbml2sql/filenames --oracle --out-file/stdout.txt +0 -0
- package/__tests__/dbml2sql/filenames --oracle stdout/in-files/business.dbml +0 -0
- package/__tests__/dbml2sql/filenames --oracle stdout/in-files/customer.dbml +0 -0
- package/__tests__/dbml2sql/filenames --oracle stdout/in-files/inventory.dbml +0 -0
- package/__tests__/dbml2sql/filenames --oracle stdout/options.json +0 -0
- package/__tests__/dbml2sql/filenames --oracle stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/filenames --out-file/expect-out-files/schema.sql +0 -0
- package/__tests__/dbml2sql/filenames --out-file/in-files/business.dbml +0 -0
- package/__tests__/dbml2sql/filenames --out-file/in-files/customer.dbml +0 -0
- package/__tests__/dbml2sql/filenames --out-file/in-files/inventory.dbml +0 -0
- package/__tests__/dbml2sql/filenames --out-file/options.json +0 -0
- package/__tests__/dbml2sql/filenames --out-file/stdout.txt +0 -0
- package/__tests__/dbml2sql/filenames --postgres --out-file/expect-out-files/schema.sql +0 -0
- package/__tests__/dbml2sql/filenames --postgres --out-file/in-files/business.dbml +0 -0
- package/__tests__/dbml2sql/filenames --postgres --out-file/in-files/customer.dbml +0 -0
- package/__tests__/dbml2sql/filenames --postgres --out-file/in-files/inventory.dbml +0 -0
- package/__tests__/dbml2sql/filenames --postgres --out-file/options.json +0 -0
- package/__tests__/dbml2sql/filenames --postgres --out-file/stdout.txt +0 -0
- package/__tests__/dbml2sql/filenames --postgres stdout/in-files/business.dbml +0 -0
- package/__tests__/dbml2sql/filenames --postgres stdout/in-files/customer.dbml +0 -0
- package/__tests__/dbml2sql/filenames --postgres stdout/in-files/inventory.dbml +0 -0
- package/__tests__/dbml2sql/filenames --postgres stdout/options.json +0 -0
- package/__tests__/dbml2sql/filenames --postgres stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/filenames stdout/in-files/business.dbml +0 -0
- package/__tests__/dbml2sql/filenames stdout/in-files/customer.dbml +0 -0
- package/__tests__/dbml2sql/filenames stdout/in-files/inventory.dbml +0 -0
- package/__tests__/dbml2sql/filenames stdout/options.json +0 -0
- package/__tests__/dbml2sql/filenames stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/multifile aliased import stdout/in-files/auth.dbml +0 -0
- package/__tests__/dbml2sql/multifile aliased import stdout/in-files/main.dbml +0 -0
- package/__tests__/dbml2sql/multifile aliased import stdout/options.json +0 -0
- package/__tests__/dbml2sql/multifile aliased import stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/multifile circular import stdout/in-files/a.dbml +0 -0
- package/__tests__/dbml2sql/multifile circular import stdout/in-files/b.dbml +0 -0
- package/__tests__/dbml2sql/multifile circular import stdout/options.json +0 -0
- package/__tests__/dbml2sql/multifile circular import stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/multifile complex stdout/in-files/auth.dbml +0 -0
- package/__tests__/dbml2sql/multifile complex stdout/in-files/catalog.dbml +0 -0
- package/__tests__/dbml2sql/multifile complex stdout/in-files/enums.dbml +0 -0
- package/__tests__/dbml2sql/multifile complex stdout/in-files/main.dbml +0 -0
- package/__tests__/dbml2sql/multifile complex stdout/options.json +0 -0
- package/__tests__/dbml2sql/multifile complex stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/multifile error entry-syntax-error/in-files/lib.dbml +0 -0
- package/__tests__/dbml2sql/multifile error entry-syntax-error/in-files/main.dbml +0 -0
- package/__tests__/dbml2sql/multifile error entry-syntax-error/options.json +0 -0
- package/__tests__/dbml2sql/multifile error entry-syntax-error/stdout.txt +0 -0
- package/__tests__/dbml2sql/multifile error import-not-found/in-files/main.dbml +0 -0
- package/__tests__/dbml2sql/multifile error import-not-found/options.json +0 -0
- package/__tests__/dbml2sql/multifile error import-not-found/stdout.txt +0 -0
- package/__tests__/dbml2sql/multifile error imported-syntax-error/in-files/broken.dbml +0 -0
- package/__tests__/dbml2sql/multifile error imported-syntax-error/in-files/main.dbml +0 -0
- package/__tests__/dbml2sql/multifile error imported-syntax-error/options.json +0 -0
- package/__tests__/dbml2sql/multifile error imported-syntax-error/stdout.txt +0 -0
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/in-files/base.dbml +0 -0
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/in-files/main.dbml +0 -0
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/in-files/types.dbml +0 -0
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/options.json +0 -0
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/stdout.txt +0 -0
- package/__tests__/dbml2sql/multifile records pulling stdout/in-files/base.dbml +0 -0
- package/__tests__/dbml2sql/multifile records pulling stdout/in-files/main.dbml +0 -0
- package/__tests__/dbml2sql/multifile records pulling stdout/options.json +0 -0
- package/__tests__/dbml2sql/multifile records pulling stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/multifile refs across files stdout/in-files/main.dbml +0 -0
- package/__tests__/dbml2sql/multifile refs across files stdout/in-files/orders.dbml +0 -0
- package/__tests__/dbml2sql/multifile refs across files stdout/in-files/users.dbml +0 -0
- package/__tests__/dbml2sql/multifile refs across files stdout/options.json +0 -0
- package/__tests__/dbml2sql/multifile refs across files stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/multifile schema pulling stdout/in-files/auth.dbml +0 -0
- package/__tests__/dbml2sql/multifile schema pulling stdout/in-files/main.dbml +0 -0
- package/__tests__/dbml2sql/multifile schema pulling stdout/options.json +0 -0
- package/__tests__/dbml2sql/multifile schema pulling stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/multifile tablegroup pulling stdout/in-files/base.dbml +0 -0
- package/__tests__/dbml2sql/multifile tablegroup pulling stdout/in-files/main.dbml +0 -0
- package/__tests__/dbml2sql/multifile tablegroup pulling stdout/options.json +0 -0
- package/__tests__/dbml2sql/multifile tablegroup pulling stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/multifile transitive reuse stdout/in-files/base.dbml +0 -0
- package/__tests__/dbml2sql/multifile transitive reuse stdout/in-files/main.dbml +0 -0
- package/__tests__/dbml2sql/multifile transitive reuse stdout/in-files/types.dbml +0 -0
- package/__tests__/dbml2sql/multifile transitive reuse stdout/options.json +0 -0
- package/__tests__/dbml2sql/multifile transitive reuse stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/multiple_schema_mssql/expect-out-files/multiple_schema.out.sql +0 -0
- package/__tests__/dbml2sql/multiple_schema_mssql/in-files/multiple_schema.in.dbml +0 -0
- package/__tests__/dbml2sql/multiple_schema_mssql/options.json +0 -0
- package/__tests__/dbml2sql/multiple_schema_mssql/stdout.txt +0 -0
- package/__tests__/dbml2sql/multiple_schema_mysql/expect-out-files/multiple_schema.out.sql +0 -0
- package/__tests__/dbml2sql/multiple_schema_mysql/in-files/multiple_schema.in.dbml +0 -0
- package/__tests__/dbml2sql/multiple_schema_mysql/options.json +0 -0
- package/__tests__/dbml2sql/multiple_schema_mysql/stdout.txt +0 -0
- package/__tests__/dbml2sql/multiple_schema_oracle/expect-out-files/multiple_schema.out.sql +0 -0
- package/__tests__/dbml2sql/multiple_schema_oracle/in-files/multiple_schema.in.dbml +0 -0
- package/__tests__/dbml2sql/multiple_schema_oracle/options.json +0 -0
- package/__tests__/dbml2sql/multiple_schema_oracle/stdout.txt +0 -0
- package/__tests__/dbml2sql/multiple_schema_pg/expect-out-files/multiple_schema.out.sql +0 -0
- package/__tests__/dbml2sql/multiple_schema_pg/in-files/multiple_schema.in.dbml +0 -0
- package/__tests__/dbml2sql/multiple_schema_pg/options.json +0 -0
- package/__tests__/dbml2sql/multiple_schema_pg/stdout.txt +0 -0
- package/__tests__/dbml2sql/single file stdout/in-files/schema.dbml +0 -0
- package/__tests__/dbml2sql/single file stdout/options.json +0 -0
- package/__tests__/dbml2sql/single file stdout/stdout.txt +0 -0
- package/__tests__/dbml2sql/syntax-error/in-files/ecommerce.dbml +0 -0
- package/__tests__/dbml2sql/syntax-error/options.json +0 -0
- package/__tests__/dbml2sql/syntax-error/stdout.txt +0 -0
- package/__tests__/dbml2sql_bin.js +0 -0
- package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/options.json +0 -0
- package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/stdout.txt +0 -0
- package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/options.json +0 -0
- package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/stdout.txt +0 -0
- package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/options.json +0 -0
- package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/stdout.txt +0 -0
- package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/options.json +0 -0
- package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/stdout.txt +0 -0
- package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/options.json +0 -0
- package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/stdout.txt +0 -0
- package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/options.json +0 -0
- package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/stdout.txt +0 -0
- package/__tests__/sql2dbml/filename --mssql --out-file/expect-out-files/schema.dbml +0 -0
- package/__tests__/sql2dbml/filename --mssql --out-file/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/filename --mssql --out-file/options.json +0 -0
- package/__tests__/sql2dbml/filename --mssql --out-file/stdout.txt +0 -0
- package/__tests__/sql2dbml/filename --mysql --out-file/expect-out-files/schema.dbml +0 -0
- package/__tests__/sql2dbml/filename --mysql --out-file/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/filename --mysql --out-file/options.json +0 -0
- package/__tests__/sql2dbml/filename --mysql --out-file/stdout.txt +0 -0
- package/__tests__/sql2dbml/filename --mysql stdout/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/filename --mysql stdout/options.json +0 -0
- package/__tests__/sql2dbml/filename --mysql stdout/stdout.txt +0 -0
- package/__tests__/sql2dbml/filename --oracle --out-file/expect-out-files/schema.dbml +0 -0
- package/__tests__/sql2dbml/filename --oracle --out-file/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/filename --oracle --out-file/options.json +0 -0
- package/__tests__/sql2dbml/filename --oracle --out-file/stdout.txt +0 -0
- package/__tests__/sql2dbml/filename --out-file/expect-out-files/schema.dbml +0 -0
- package/__tests__/sql2dbml/filename --out-file/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/filename --out-file/options.json +0 -0
- package/__tests__/sql2dbml/filename --out-file/stdout.txt +0 -0
- package/__tests__/sql2dbml/filename --postgres --out-file/expect-out-files/schema.dbml +0 -0
- package/__tests__/sql2dbml/filename --postgres --out-file/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/filename --postgres --out-file/options.json +0 -0
- package/__tests__/sql2dbml/filename --postgres --out-file/stdout.txt +0 -0
- package/__tests__/sql2dbml/filename --postgres stdout/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/filename --postgres stdout/options.json +0 -0
- package/__tests__/sql2dbml/filename --postgres stdout/stdout.txt +0 -0
- package/__tests__/sql2dbml/filename --snowflake stdout/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/filename --snowflake stdout/options.json +0 -0
- package/__tests__/sql2dbml/filename --snowflake stdout/stdout.txt +0 -0
- package/__tests__/sql2dbml/filename stdout/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/filename stdout/options.json +0 -0
- package/__tests__/sql2dbml/filename stdout/stdout.txt +0 -0
- package/__tests__/sql2dbml/filenames --mysql --out-file/expect-out-files/schema.dbml +0 -0
- package/__tests__/sql2dbml/filenames --mysql --out-file/in-files/business.sql +0 -0
- package/__tests__/sql2dbml/filenames --mysql --out-file/in-files/customer.sql +0 -0
- package/__tests__/sql2dbml/filenames --mysql --out-file/in-files/inventory.sql +0 -0
- package/__tests__/sql2dbml/filenames --mysql --out-file/options.json +0 -0
- package/__tests__/sql2dbml/filenames --mysql --out-file/stdout.txt +0 -0
- package/__tests__/sql2dbml/filenames --mysql stdout/in-files/business.sql +0 -0
- package/__tests__/sql2dbml/filenames --mysql stdout/in-files/customer.sql +0 -0
- package/__tests__/sql2dbml/filenames --mysql stdout/in-files/inventory.sql +0 -0
- package/__tests__/sql2dbml/filenames --mysql stdout/options.json +0 -0
- package/__tests__/sql2dbml/filenames --mysql stdout/stdout.txt +0 -0
- package/__tests__/sql2dbml/filenames --out-file/expect-out-files/schema.dbml +0 -0
- package/__tests__/sql2dbml/filenames --out-file/in-files/business.sql +0 -0
- package/__tests__/sql2dbml/filenames --out-file/in-files/customer.sql +0 -0
- package/__tests__/sql2dbml/filenames --out-file/in-files/inventory.sql +0 -0
- package/__tests__/sql2dbml/filenames --out-file/options.json +0 -0
- package/__tests__/sql2dbml/filenames --out-file/stdout.txt +0 -0
- package/__tests__/sql2dbml/filenames --postgres --out-file/expect-out-files/schema.dbml +0 -0
- package/__tests__/sql2dbml/filenames --postgres --out-file/in-files/business.sql +0 -0
- package/__tests__/sql2dbml/filenames --postgres --out-file/in-files/customer.sql +0 -0
- package/__tests__/sql2dbml/filenames --postgres --out-file/in-files/inventory.sql +0 -0
- package/__tests__/sql2dbml/filenames --postgres --out-file/options.json +0 -0
- package/__tests__/sql2dbml/filenames --postgres --out-file/stdout.txt +0 -0
- package/__tests__/sql2dbml/filenames --postgres stdout/in-files/business.sql +0 -0
- package/__tests__/sql2dbml/filenames --postgres stdout/in-files/customer.sql +0 -0
- package/__tests__/sql2dbml/filenames --postgres stdout/in-files/inventory.sql +0 -0
- package/__tests__/sql2dbml/filenames --postgres stdout/options.json +0 -0
- package/__tests__/sql2dbml/filenames --postgres stdout/stdout.txt +0 -0
- package/__tests__/sql2dbml/filenames stdout/in-files/business.sql +0 -0
- package/__tests__/sql2dbml/filenames stdout/in-files/customer.sql +0 -0
- package/__tests__/sql2dbml/filenames stdout/in-files/inventory.sql +0 -0
- package/__tests__/sql2dbml/filenames stdout/options.json +0 -0
- package/__tests__/sql2dbml/filenames stdout/stdout.txt +0 -0
- package/__tests__/sql2dbml/multiple_schema_mssql/expect-out-files/multiple_schema.out.dbml +0 -0
- package/__tests__/sql2dbml/multiple_schema_mssql/in-files/multiple_schema.in.sql +0 -0
- package/__tests__/sql2dbml/multiple_schema_mssql/options.json +0 -0
- package/__tests__/sql2dbml/multiple_schema_mssql/stdout.txt +0 -0
- package/__tests__/sql2dbml/multiple_schema_mysql/expect-out-files/multiple_schema.out.dbml +0 -0
- package/__tests__/sql2dbml/multiple_schema_mysql/in-files/multiple_schema.in.sql +0 -0
- package/__tests__/sql2dbml/multiple_schema_mysql/options.json +0 -0
- package/__tests__/sql2dbml/multiple_schema_mysql/stdout.txt +0 -0
- package/__tests__/sql2dbml/multiple_schema_pg/expect-out-files/multiple_schema.out.dbml +0 -0
- package/__tests__/sql2dbml/multiple_schema_pg/in-files/multiple_schema.in.sql +0 -0
- package/__tests__/sql2dbml/multiple_schema_pg/options.json +0 -0
- package/__tests__/sql2dbml/multiple_schema_pg/stdout.txt +0 -0
- package/__tests__/sql2dbml/syntax-error/in-files/business.sql +0 -0
- package/__tests__/sql2dbml/syntax-error/options.json +0 -0
- package/__tests__/sql2dbml/syntax-error/stdout.txt +0 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/options.json +0 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/stdout.txt +0 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/in-files/schema.sql +0 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/options.json +0 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/stdout.txt +0 -0
- package/__tests__/sql2dbml_bin.js +0 -0
- package/__tests__/testHelpers.ts +0 -0
- package/dbml-error.log +329 -2
- package/eslint.config.ts +0 -0
- package/lib/index.js +5 -5
- package/package.json +5 -5
- package/src/NodeProjectLayout.ts +0 -0
- package/src/cli/config.ts +0 -0
- package/src/cli/connector.ts +0 -0
- package/src/cli/export.ts +0 -0
- package/src/cli/import.ts +0 -0
- package/src/cli/index.ts +0 -0
- package/src/cli/outputPlugins/outputConsolePlugin.ts +0 -0
- package/src/cli/outputPlugins/outputFilePlugin.ts +0 -0
- package/src/cli/utils.ts +0 -0
- package/src/cli/validatePlugins/validatePlugins.ts +0 -0
- package/src/errors/domainError.ts +0 -0
- package/src/errors/index.ts +0 -0
- package/src/errors/syntaxError.ts +0 -0
- package/src/helpers/logger.ts +0 -0
- package/src/index.ts +0 -0
- package/tsconfig.json +0 -0
- package/vite.config.ts +0 -0
- package/__tests__/db2dbml/mssql/dbml-error.log +0 -510
- package/__tests__/db2dbml/mysql/dbml-error.log +0 -663
- package/__tests__/db2dbml/oracle/dbml-error.log +0 -714
- package/__tests__/db2dbml/postgres/dbml-error.log +0 -364
- package/__tests__/dbml2sql/multifile aliased import stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile circular import stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile complex stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile error entry-syntax-error/dbml-error.log +0 -117
- package/__tests__/dbml2sql/multifile error import-not-found/dbml-error.log +0 -14790
- package/__tests__/dbml2sql/multifile error imported-syntax-error/dbml-error.log +0 -48
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/dbml-error.log +0 -44
- package/__tests__/dbml2sql/multifile records pulling stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile refs across files stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile schema pulling stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile tablegroup pulling stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multifile transitive reuse stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multiple_schema_mssql/dbml-error.log +0 -30
- package/__tests__/dbml2sql/multiple_schema_mysql/dbml-error.log +0 -30
- package/__tests__/dbml2sql/multiple_schema_oracle/dbml-error.log +0 -0
- package/__tests__/dbml2sql/multiple_schema_pg/dbml-error.log +0 -30
- package/__tests__/dbml2sql/single file stdout/dbml-error.log +0 -0
- package/__tests__/dbml2sql/syntax-error/dbml-error.log +0 -264
- package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/dbml-error.log +0 -190
- package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/dbml-error.log +0 -190
- package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/dbml-error.log +0 -190
- package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/dbml-error.log +0 -190
- package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/dbml-error.log +0 -190
- package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/dbml-error.log +0 -190
- package/__tests__/sql2dbml/filename --mssql --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --mysql --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --mysql stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --oracle --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --oracle --out-file/out-files/schema.dbml +0 -83
- package/__tests__/sql2dbml/filename --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --postgres --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --postgres stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename --snowflake stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filename stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames --mysql --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames --mysql stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames --postgres --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames --postgres stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/multiple_schema_mssql/dbml-error.log +0 -0
- package/__tests__/sql2dbml/multiple_schema_mysql/dbml-error.log +0 -0
- package/__tests__/sql2dbml/multiple_schema_pg/dbml-error.log +0 -0
- package/__tests__/sql2dbml/syntax-error/dbml-error.log +0 -177
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +0 -174
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +0 -170
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
2021-07-13T12:37:40.734Z
|
|
2
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
3
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:56)
|
|
4
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
5
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
6
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
7
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
8
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
9
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
10
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
11
|
+
at internal/main/run_main_module.js:17:47
|
|
12
|
+
|
|
13
|
+
2021-07-13T12:47:15.905Z
|
|
14
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
15
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:56)
|
|
16
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
17
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
18
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
19
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
20
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
21
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
22
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
23
|
+
at internal/main/run_main_module.js:17:47
|
|
24
|
+
|
|
25
|
+
2021-07-13T12:58:20.418Z
|
|
26
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
27
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:49)
|
|
28
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
29
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
30
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
31
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
32
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
33
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
34
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
35
|
+
at internal/main/run_main_module.js:17:47
|
|
36
|
+
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
-- SQL dump generated using DBML (dbml.dbdiagram.io)
|
|
2
2
|
-- Database: Oracle
|
|
3
|
-
-- Generated at:
|
|
3
|
+
-- Generated at: 2024-08-12T11:56:41.926Z
|
|
4
4
|
|
|
5
5
|
CREATE TABLE "orders" (
|
|
6
6
|
"id" int GENERATED AS IDENTITY PRIMARY KEY,
|
|
@@ -48,14 +48,14 @@ CREATE TABLE "countries" (
|
|
|
48
48
|
|
|
49
49
|
CREATE INDEX "product_status" ON "products" ("merchant_id", "status");
|
|
50
50
|
|
|
51
|
-
ALTER TABLE "order_items" ADD FOREIGN KEY ("order_id") REFERENCES "orders" ("id")
|
|
51
|
+
ALTER TABLE "order_items" ADD FOREIGN KEY ("order_id") REFERENCES "orders" ("id");
|
|
52
52
|
|
|
53
|
-
ALTER TABLE "order_items" ADD FOREIGN KEY ("product_id") REFERENCES "products" ("id")
|
|
53
|
+
ALTER TABLE "order_items" ADD FOREIGN KEY ("product_id") REFERENCES "products" ("id");
|
|
54
54
|
|
|
55
|
-
ALTER TABLE "users" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code")
|
|
55
|
+
ALTER TABLE "users" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code");
|
|
56
56
|
|
|
57
|
-
ALTER TABLE "merchants" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code")
|
|
57
|
+
ALTER TABLE "merchants" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code");
|
|
58
58
|
|
|
59
|
-
ALTER TABLE "products" ADD FOREIGN KEY ("merchant_id") REFERENCES "merchants" ("id")
|
|
59
|
+
ALTER TABLE "products" ADD FOREIGN KEY ("merchant_id") REFERENCES "merchants" ("id");
|
|
60
60
|
|
|
61
|
-
ALTER TABLE "merchants" ADD FOREIGN KEY ("admin_id") REFERENCES "users" ("id")
|
|
61
|
+
ALTER TABLE "merchants" ADD FOREIGN KEY ("admin_id") REFERENCES "users" ("id");
|
|
File without changes
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
2021-07-13T12:37:43.283Z
|
|
2
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
3
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:56)
|
|
4
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
5
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
6
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
7
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
8
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
9
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
10
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
11
|
+
at internal/main/run_main_module.js:17:47
|
|
12
|
+
|
|
13
|
+
2021-07-13T12:47:19.039Z
|
|
14
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
15
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:56)
|
|
16
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
17
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
18
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
19
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
20
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
21
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
22
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
23
|
+
at internal/main/run_main_module.js:17:47
|
|
24
|
+
|
|
25
|
+
2021-07-13T12:58:22.994Z
|
|
26
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
27
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:49)
|
|
28
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
29
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
30
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
31
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
32
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
33
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
34
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
35
|
+
at internal/main/run_main_module.js:17:47
|
|
36
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
-- SQL dump generated using DBML (dbml.dbdiagram.io)
|
|
2
2
|
-- Database: PostgreSQL
|
|
3
|
-
-- Generated at:
|
|
3
|
+
-- Generated at: 2024-08-12T11:56:42.841Z
|
|
4
4
|
|
|
5
5
|
CREATE TYPE "orders_status" AS ENUM (
|
|
6
6
|
'created',
|
|
@@ -64,14 +64,14 @@ CREATE INDEX "product_status" ON "products" ("merchant_id", "status");
|
|
|
64
64
|
|
|
65
65
|
CREATE UNIQUE INDEX ON "products" USING HASH ("id");
|
|
66
66
|
|
|
67
|
-
ALTER TABLE "order_items" ADD FOREIGN KEY ("order_id") REFERENCES "orders" ("id")
|
|
67
|
+
ALTER TABLE "order_items" ADD FOREIGN KEY ("order_id") REFERENCES "orders" ("id");
|
|
68
68
|
|
|
69
|
-
ALTER TABLE "order_items" ADD FOREIGN KEY ("product_id") REFERENCES "products" ("id")
|
|
69
|
+
ALTER TABLE "order_items" ADD FOREIGN KEY ("product_id") REFERENCES "products" ("id");
|
|
70
70
|
|
|
71
|
-
ALTER TABLE "users" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code")
|
|
71
|
+
ALTER TABLE "users" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code");
|
|
72
72
|
|
|
73
|
-
ALTER TABLE "merchants" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code")
|
|
73
|
+
ALTER TABLE "merchants" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code");
|
|
74
74
|
|
|
75
|
-
ALTER TABLE "products" ADD FOREIGN KEY ("merchant_id") REFERENCES "merchants" ("id")
|
|
75
|
+
ALTER TABLE "products" ADD FOREIGN KEY ("merchant_id") REFERENCES "merchants" ("id");
|
|
76
76
|
|
|
77
|
-
ALTER TABLE "merchants" ADD FOREIGN KEY ("admin_id") REFERENCES "users" ("id")
|
|
77
|
+
ALTER TABLE "merchants" ADD FOREIGN KEY ("admin_id") REFERENCES "users" ("id");
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
2021-07-13T12:37:44.406Z
|
|
2
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
3
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:56)
|
|
4
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
5
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
6
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
7
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
8
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
9
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
10
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
11
|
+
at internal/main/run_main_module.js:17:47
|
|
12
|
+
|
|
13
|
+
2021-07-13T12:58:23.999Z
|
|
14
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
15
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:49)
|
|
16
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
17
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
18
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
19
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
20
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
21
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
22
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
23
|
+
at internal/main/run_main_module.js:17:47
|
|
24
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
-- SQL dump generated using DBML (dbml.dbdiagram.io)
|
|
2
2
|
-- Database: PostgreSQL
|
|
3
|
-
-- Generated at:
|
|
3
|
+
-- Generated at: 2024-08-12T11:56:43.303Z
|
|
4
4
|
|
|
5
5
|
CREATE TYPE "orders_status" AS ENUM (
|
|
6
6
|
'created',
|
|
@@ -64,14 +64,14 @@ CREATE INDEX "product_status" ON "products" ("merchant_id", "status");
|
|
|
64
64
|
|
|
65
65
|
CREATE UNIQUE INDEX ON "products" USING HASH ("id");
|
|
66
66
|
|
|
67
|
-
ALTER TABLE "order_items" ADD FOREIGN KEY ("order_id") REFERENCES "orders" ("id")
|
|
67
|
+
ALTER TABLE "order_items" ADD FOREIGN KEY ("order_id") REFERENCES "orders" ("id");
|
|
68
68
|
|
|
69
|
-
ALTER TABLE "order_items" ADD FOREIGN KEY ("product_id") REFERENCES "products" ("id")
|
|
69
|
+
ALTER TABLE "order_items" ADD FOREIGN KEY ("product_id") REFERENCES "products" ("id");
|
|
70
70
|
|
|
71
|
-
ALTER TABLE "users" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code")
|
|
71
|
+
ALTER TABLE "users" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code");
|
|
72
72
|
|
|
73
|
-
ALTER TABLE "merchants" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code")
|
|
73
|
+
ALTER TABLE "merchants" ADD FOREIGN KEY ("country_code") REFERENCES "countries" ("code");
|
|
74
74
|
|
|
75
|
-
ALTER TABLE "products" ADD FOREIGN KEY ("merchant_id") REFERENCES "merchants" ("id")
|
|
75
|
+
ALTER TABLE "products" ADD FOREIGN KEY ("merchant_id") REFERENCES "merchants" ("id");
|
|
76
76
|
|
|
77
|
-
ALTER TABLE "merchants" ADD FOREIGN KEY ("admin_id") REFERENCES "users" ("id")
|
|
77
|
+
ALTER TABLE "merchants" ADD FOREIGN KEY ("admin_id") REFERENCES "users" ("id");
|
|
File without changes
|
package/{__tests__/dbml2sql/filename --out-file → __test__/dbml2sql/filename stdout}/dbml-error.log
RENAMED
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
2021-07-13T12:37:47.900Z
|
|
2
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
3
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:56)
|
|
4
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
5
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
6
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
7
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
8
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
9
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
10
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
11
|
+
at internal/main/run_main_module.js:17:47
|
|
12
|
+
|
|
13
|
+
2021-07-13T12:58:26.936Z
|
|
14
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
15
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:49)
|
|
16
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
17
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
18
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
19
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
20
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
21
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
22
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
23
|
+
at internal/main/run_main_module.js:17:47
|
|
24
|
+
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
-- SQL dump generated using DBML (dbml.dbdiagram.io)
|
|
2
2
|
-- Database: Oracle
|
|
3
|
-
-- Generated at:
|
|
3
|
+
-- Generated at: 2024-08-12T11:56:45.729Z
|
|
4
4
|
|
|
5
5
|
CREATE TABLE "staff" (
|
|
6
6
|
"id" int PRIMARY KEY,
|
|
@@ -43,15 +43,15 @@ CREATE TABLE "rental" (
|
|
|
43
43
|
"last_update" timestamp
|
|
44
44
|
);
|
|
45
45
|
|
|
46
|
-
ALTER TABLE "staff" ADD FOREIGN KEY ("store_id") REFERENCES "store" ("id")
|
|
46
|
+
ALTER TABLE "staff" ADD FOREIGN KEY ("store_id") REFERENCES "store" ("id");
|
|
47
47
|
|
|
48
|
-
ALTER TABLE "store" ADD FOREIGN KEY ("manager_staff_id") REFERENCES "staff" ("id")
|
|
48
|
+
ALTER TABLE "store" ADD FOREIGN KEY ("manager_staff_id") REFERENCES "staff" ("id");
|
|
49
49
|
|
|
50
|
-
ALTER TABLE "payment" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id")
|
|
50
|
+
ALTER TABLE "payment" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id");
|
|
51
51
|
|
|
52
|
-
ALTER TABLE "payment" ADD FOREIGN KEY ("rental_id") REFERENCES "rental" ("id")
|
|
52
|
+
ALTER TABLE "payment" ADD FOREIGN KEY ("rental_id") REFERENCES "rental" ("id");
|
|
53
53
|
|
|
54
|
-
ALTER TABLE "rental" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id")
|
|
54
|
+
ALTER TABLE "rental" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id");
|
|
55
55
|
CREATE TABLE "country" (
|
|
56
56
|
"id" int PRIMARY KEY,
|
|
57
57
|
"country" nvarchar2(255),
|
|
@@ -90,11 +90,11 @@ CREATE TABLE "customer" (
|
|
|
90
90
|
|
|
91
91
|
CREATE INDEX "IDX_CUSTOMER" ON "customer" ("id", "first_name");
|
|
92
92
|
|
|
93
|
-
ALTER TABLE "city" ADD FOREIGN KEY ("country_id") REFERENCES "country" ("id")
|
|
93
|
+
ALTER TABLE "city" ADD FOREIGN KEY ("country_id") REFERENCES "country" ("id");
|
|
94
94
|
|
|
95
|
-
ALTER TABLE "address" ADD FOREIGN KEY ("city_id") REFERENCES "city" ("id")
|
|
95
|
+
ALTER TABLE "address" ADD FOREIGN KEY ("city_id") REFERENCES "city" ("id");
|
|
96
96
|
|
|
97
|
-
ALTER TABLE "customer" ADD FOREIGN KEY ("address_id") REFERENCES "address" ("id")
|
|
97
|
+
ALTER TABLE "customer" ADD FOREIGN KEY ("address_id") REFERENCES "address" ("id");
|
|
98
98
|
CREATE TABLE "category" (
|
|
99
99
|
"id" int PRIMARY KEY,
|
|
100
100
|
"name" nvarchar2(255),
|
|
@@ -157,16 +157,16 @@ CREATE TABLE "inventory" (
|
|
|
157
157
|
"last_update" timestamp
|
|
158
158
|
);
|
|
159
159
|
|
|
160
|
-
ALTER TABLE "film_category" ADD FOREIGN KEY ("category_id") REFERENCES "category" ("id")
|
|
160
|
+
ALTER TABLE "film_category" ADD FOREIGN KEY ("category_id") REFERENCES "category" ("id");
|
|
161
161
|
|
|
162
|
-
ALTER TABLE "film_text" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id")
|
|
162
|
+
ALTER TABLE "film_text" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id");
|
|
163
163
|
|
|
164
|
-
ALTER TABLE "film" ADD FOREIGN KEY ("language_id") REFERENCES "language" ("id")
|
|
164
|
+
ALTER TABLE "film" ADD FOREIGN KEY ("language_id") REFERENCES "language" ("id");
|
|
165
165
|
|
|
166
|
-
ALTER TABLE "film" ADD FOREIGN KEY ("original_language_id") REFERENCES "language" ("id")
|
|
166
|
+
ALTER TABLE "film" ADD FOREIGN KEY ("original_language_id") REFERENCES "language" ("id");
|
|
167
167
|
|
|
168
|
-
ALTER TABLE "film_actor" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id")
|
|
168
|
+
ALTER TABLE "film_actor" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id");
|
|
169
169
|
|
|
170
|
-
ALTER TABLE "film_actor" ADD FOREIGN KEY ("actor_id") REFERENCES "actor" ("id")
|
|
170
|
+
ALTER TABLE "film_actor" ADD FOREIGN KEY ("actor_id") REFERENCES "actor" ("id");
|
|
171
171
|
|
|
172
|
-
ALTER TABLE "inventory" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id")
|
|
172
|
+
ALTER TABLE "inventory" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id");
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
2021-07-13T12:37:50.404Z
|
|
2
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
3
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:56)
|
|
4
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
5
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
6
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
7
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
8
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
9
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
10
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
11
|
+
at internal/main/run_main_module.js:17:47
|
|
12
|
+
|
|
13
|
+
2021-07-13T12:58:29.075Z
|
|
14
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
15
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:49)
|
|
16
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
17
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
18
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
19
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
20
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
21
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
22
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
23
|
+
at internal/main/run_main_module.js:17:47
|
|
24
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
-- SQL dump generated using DBML (dbml.dbdiagram.io)
|
|
2
2
|
-- Database: PostgreSQL
|
|
3
|
-
-- Generated at:
|
|
3
|
+
-- Generated at: 2024-08-12T11:56:46.695Z
|
|
4
4
|
|
|
5
5
|
CREATE TABLE "staff" (
|
|
6
6
|
"id" int PRIMARY KEY,
|
|
@@ -43,15 +43,15 @@ CREATE TABLE "rental" (
|
|
|
43
43
|
"last_update" timestamp
|
|
44
44
|
);
|
|
45
45
|
|
|
46
|
-
ALTER TABLE "staff" ADD FOREIGN KEY ("store_id") REFERENCES "store" ("id")
|
|
46
|
+
ALTER TABLE "staff" ADD FOREIGN KEY ("store_id") REFERENCES "store" ("id");
|
|
47
47
|
|
|
48
|
-
ALTER TABLE "store" ADD FOREIGN KEY ("manager_staff_id") REFERENCES "staff" ("id")
|
|
48
|
+
ALTER TABLE "store" ADD FOREIGN KEY ("manager_staff_id") REFERENCES "staff" ("id");
|
|
49
49
|
|
|
50
|
-
ALTER TABLE "payment" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id")
|
|
50
|
+
ALTER TABLE "payment" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id");
|
|
51
51
|
|
|
52
|
-
ALTER TABLE "payment" ADD FOREIGN KEY ("rental_id") REFERENCES "rental" ("id")
|
|
52
|
+
ALTER TABLE "payment" ADD FOREIGN KEY ("rental_id") REFERENCES "rental" ("id");
|
|
53
53
|
|
|
54
|
-
ALTER TABLE "rental" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id")
|
|
54
|
+
ALTER TABLE "rental" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id");
|
|
55
55
|
CREATE TABLE "country" (
|
|
56
56
|
"id" int PRIMARY KEY,
|
|
57
57
|
"country" varchar,
|
|
@@ -90,11 +90,11 @@ CREATE TABLE "customer" (
|
|
|
90
90
|
|
|
91
91
|
CREATE INDEX ON "customer" USING BTREE ("id", "first_name");
|
|
92
92
|
|
|
93
|
-
ALTER TABLE "city" ADD FOREIGN KEY ("country_id") REFERENCES "country" ("id")
|
|
93
|
+
ALTER TABLE "city" ADD FOREIGN KEY ("country_id") REFERENCES "country" ("id");
|
|
94
94
|
|
|
95
|
-
ALTER TABLE "address" ADD FOREIGN KEY ("city_id") REFERENCES "city" ("id")
|
|
95
|
+
ALTER TABLE "address" ADD FOREIGN KEY ("city_id") REFERENCES "city" ("id");
|
|
96
96
|
|
|
97
|
-
ALTER TABLE "customer" ADD FOREIGN KEY ("address_id") REFERENCES "address" ("id")
|
|
97
|
+
ALTER TABLE "customer" ADD FOREIGN KEY ("address_id") REFERENCES "address" ("id");
|
|
98
98
|
CREATE TABLE "category" (
|
|
99
99
|
"id" int PRIMARY KEY,
|
|
100
100
|
"name" varchar,
|
|
@@ -157,16 +157,16 @@ CREATE TABLE "inventory" (
|
|
|
157
157
|
"last_update" timestamp
|
|
158
158
|
);
|
|
159
159
|
|
|
160
|
-
ALTER TABLE "film_category" ADD FOREIGN KEY ("category_id") REFERENCES "category" ("id")
|
|
160
|
+
ALTER TABLE "film_category" ADD FOREIGN KEY ("category_id") REFERENCES "category" ("id");
|
|
161
161
|
|
|
162
|
-
ALTER TABLE "film_text" ADD FOREIGN KEY ("film_id") REFERENCES "inventory" ("film_id")
|
|
162
|
+
ALTER TABLE "film_text" ADD FOREIGN KEY ("film_id") REFERENCES "inventory" ("film_id");
|
|
163
163
|
|
|
164
|
-
ALTER TABLE "film" ADD FOREIGN KEY ("language_id") REFERENCES "language" ("id")
|
|
164
|
+
ALTER TABLE "film" ADD FOREIGN KEY ("language_id") REFERENCES "language" ("id");
|
|
165
165
|
|
|
166
|
-
ALTER TABLE "film" ADD FOREIGN KEY ("original_language_id") REFERENCES "language" ("id")
|
|
166
|
+
ALTER TABLE "film" ADD FOREIGN KEY ("original_language_id") REFERENCES "language" ("id");
|
|
167
167
|
|
|
168
|
-
ALTER TABLE "film_actor" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id")
|
|
168
|
+
ALTER TABLE "film_actor" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id");
|
|
169
169
|
|
|
170
|
-
ALTER TABLE "film_actor" ADD FOREIGN KEY ("actor_id") REFERENCES "actor" ("id")
|
|
170
|
+
ALTER TABLE "film_actor" ADD FOREIGN KEY ("actor_id") REFERENCES "actor" ("id");
|
|
171
171
|
|
|
172
|
-
ALTER TABLE "inventory" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id")
|
|
172
|
+
ALTER TABLE "inventory" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id");
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
2021-07-13T12:37:51.477Z
|
|
2
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
3
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:56)
|
|
4
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
5
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
6
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
7
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
8
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
9
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
10
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
11
|
+
at internal/main/run_main_module.js:17:47
|
|
12
|
+
|
|
13
|
+
2021-07-13T12:58:30.073Z
|
|
14
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
15
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:49)
|
|
16
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
17
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
18
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
19
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
20
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
21
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
22
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
23
|
+
at internal/main/run_main_module.js:17:47
|
|
24
|
+
|
package/{__tests__ → __test__}/dbml2sql/filenames --postgres --out-file/out-files/schema.sql
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
-- SQL dump generated using DBML (dbml.dbdiagram.io)
|
|
2
2
|
-- Database: PostgreSQL
|
|
3
|
-
-- Generated at:
|
|
3
|
+
-- Generated at: 2024-08-12T11:56:47.183Z
|
|
4
4
|
|
|
5
5
|
CREATE TABLE "staff" (
|
|
6
6
|
"id" int PRIMARY KEY,
|
|
@@ -43,15 +43,15 @@ CREATE TABLE "rental" (
|
|
|
43
43
|
"last_update" timestamp
|
|
44
44
|
);
|
|
45
45
|
|
|
46
|
-
ALTER TABLE "staff" ADD FOREIGN KEY ("store_id") REFERENCES "store" ("id")
|
|
46
|
+
ALTER TABLE "staff" ADD FOREIGN KEY ("store_id") REFERENCES "store" ("id");
|
|
47
47
|
|
|
48
|
-
ALTER TABLE "store" ADD FOREIGN KEY ("manager_staff_id") REFERENCES "staff" ("id")
|
|
48
|
+
ALTER TABLE "store" ADD FOREIGN KEY ("manager_staff_id") REFERENCES "staff" ("id");
|
|
49
49
|
|
|
50
|
-
ALTER TABLE "payment" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id")
|
|
50
|
+
ALTER TABLE "payment" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id");
|
|
51
51
|
|
|
52
|
-
ALTER TABLE "payment" ADD FOREIGN KEY ("rental_id") REFERENCES "rental" ("id")
|
|
52
|
+
ALTER TABLE "payment" ADD FOREIGN KEY ("rental_id") REFERENCES "rental" ("id");
|
|
53
53
|
|
|
54
|
-
ALTER TABLE "rental" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id")
|
|
54
|
+
ALTER TABLE "rental" ADD FOREIGN KEY ("staff_id") REFERENCES "staff" ("id");
|
|
55
55
|
CREATE TABLE "country" (
|
|
56
56
|
"id" int PRIMARY KEY,
|
|
57
57
|
"country" varchar,
|
|
@@ -90,11 +90,11 @@ CREATE TABLE "customer" (
|
|
|
90
90
|
|
|
91
91
|
CREATE INDEX ON "customer" USING BTREE ("id", "first_name");
|
|
92
92
|
|
|
93
|
-
ALTER TABLE "city" ADD FOREIGN KEY ("country_id") REFERENCES "country" ("id")
|
|
93
|
+
ALTER TABLE "city" ADD FOREIGN KEY ("country_id") REFERENCES "country" ("id");
|
|
94
94
|
|
|
95
|
-
ALTER TABLE "address" ADD FOREIGN KEY ("city_id") REFERENCES "city" ("id")
|
|
95
|
+
ALTER TABLE "address" ADD FOREIGN KEY ("city_id") REFERENCES "city" ("id");
|
|
96
96
|
|
|
97
|
-
ALTER TABLE "customer" ADD FOREIGN KEY ("address_id") REFERENCES "address" ("id")
|
|
97
|
+
ALTER TABLE "customer" ADD FOREIGN KEY ("address_id") REFERENCES "address" ("id");
|
|
98
98
|
CREATE TABLE "category" (
|
|
99
99
|
"id" int PRIMARY KEY,
|
|
100
100
|
"name" varchar,
|
|
@@ -157,16 +157,16 @@ CREATE TABLE "inventory" (
|
|
|
157
157
|
"last_update" timestamp
|
|
158
158
|
);
|
|
159
159
|
|
|
160
|
-
ALTER TABLE "film_category" ADD FOREIGN KEY ("category_id") REFERENCES "category" ("id")
|
|
160
|
+
ALTER TABLE "film_category" ADD FOREIGN KEY ("category_id") REFERENCES "category" ("id");
|
|
161
161
|
|
|
162
|
-
ALTER TABLE "film_text" ADD FOREIGN KEY ("film_id") REFERENCES "inventory" ("film_id")
|
|
162
|
+
ALTER TABLE "film_text" ADD FOREIGN KEY ("film_id") REFERENCES "inventory" ("film_id");
|
|
163
163
|
|
|
164
|
-
ALTER TABLE "film" ADD FOREIGN KEY ("language_id") REFERENCES "language" ("id")
|
|
164
|
+
ALTER TABLE "film" ADD FOREIGN KEY ("language_id") REFERENCES "language" ("id");
|
|
165
165
|
|
|
166
|
-
ALTER TABLE "film" ADD FOREIGN KEY ("original_language_id") REFERENCES "language" ("id")
|
|
166
|
+
ALTER TABLE "film" ADD FOREIGN KEY ("original_language_id") REFERENCES "language" ("id");
|
|
167
167
|
|
|
168
|
-
ALTER TABLE "film_actor" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id")
|
|
168
|
+
ALTER TABLE "film_actor" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id");
|
|
169
169
|
|
|
170
|
-
ALTER TABLE "film_actor" ADD FOREIGN KEY ("actor_id") REFERENCES "actor" ("id")
|
|
170
|
+
ALTER TABLE "film_actor" ADD FOREIGN KEY ("actor_id") REFERENCES "actor" ("id");
|
|
171
171
|
|
|
172
|
-
ALTER TABLE "inventory" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id")
|
|
172
|
+
ALTER TABLE "inventory" ADD FOREIGN KEY ("film_id") REFERENCES "film" ("id");
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
2021-07-13T12:37:44.406Z
|
|
2
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
3
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:56)
|
|
4
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
5
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
6
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
7
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
8
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
9
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
10
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
11
|
+
at internal/main/run_main_module.js:17:47
|
|
12
|
+
|
|
13
|
+
2021-07-13T12:58:23.999Z
|
|
14
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
15
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:49)
|
|
16
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
17
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
18
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
19
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
20
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
21
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
22
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
23
|
+
at internal/main/run_main_module.js:17:47
|
|
24
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
2021-07-13T12:37:44.406Z
|
|
2
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
3
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:56)
|
|
4
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
5
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
6
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
7
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
8
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
9
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
10
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
11
|
+
at internal/main/run_main_module.js:17:47
|
|
12
|
+
|
|
13
|
+
2021-07-13T12:58:23.999Z
|
|
14
|
+
TypeError: Cannot read property 'tick' of undefined
|
|
15
|
+
at exportHandler (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\export.js:37:49)
|
|
16
|
+
at dbml2sql (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\src\cli\index.js:19:3)
|
|
17
|
+
at Object.<anonymous> (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-cli\__test__\dbml2sql_bin.js:5:1)
|
|
18
|
+
at Module._compile (internal/modules/cjs/loader.js:1085:14)
|
|
19
|
+
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
|
|
20
|
+
at Module.load (internal/modules/cjs/loader.js:950:32)
|
|
21
|
+
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
|
|
22
|
+
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
|
|
23
|
+
at internal/main/run_main_module.js:17:47
|
|
24
|
+
|
|
File without changes
|