@dbml/cli 3.9.0 → 3.9.2-alpha.0
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/.babelrc +0 -0
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/__test__/cli.test.js +0 -0
- package/__test__/db2dbml/mssql/expect-out-files/schema.dbml +72 -59
- package/__test__/db2dbml/mssql/options.json +0 -0
- package/__test__/db2dbml/mssql/schema.sql +15 -1
- package/__test__/db2dbml/mssql/stdout.txt +0 -0
- package/__test__/db2dbml/mysql/expect-out-files/schema.dbml +2 -2
- package/__test__/db2dbml/mysql/options.json +0 -0
- package/__test__/db2dbml/mysql/schema.sql +2 -2
- package/__test__/db2dbml/mysql/stdout.txt +0 -0
- package/__test__/db2dbml/postgres/expect-out-files/schema.dbml +3 -3
- package/__test__/db2dbml/postgres/options.json +0 -0
- package/__test__/db2dbml/postgres/schema.sql +3 -3
- package/__test__/db2dbml/postgres/stdout.txt +0 -0
- package/__test__/db2dbml_bin.js +0 -0
- package/__test__/dbml2sql/filename --mysql --out-file/dbml-error.log +36 -0
- package/__test__/dbml2sql/filename --mysql --out-file/expect-out-files/schema.sql +0 -0
- package/__test__/dbml2sql/filename --mysql --out-file/in-files/schema.dbml +0 -0
- package/__test__/dbml2sql/filename --mysql --out-file/options.json +0 -0
- package/__test__/dbml2sql/filename --mysql --out-file/out-files/schema.sql +1 -1
- package/__test__/dbml2sql/filename --mysql --out-file/stdout.txt +0 -0
- package/__test__/dbml2sql/filename --mysql stdout/dbml-error.log +0 -0
- package/__test__/dbml2sql/filename --mysql stdout/in-files/schema.dbml +0 -0
- package/__test__/dbml2sql/filename --mysql stdout/options.json +0 -0
- package/__test__/dbml2sql/filename --mysql stdout/stdout.txt +0 -0
- package/__test__/dbml2sql/filename --oracle --out-file/dbml-error.log +0 -0
- package/__test__/dbml2sql/filename --oracle --out-file/expect-out-files/schema.sql +0 -0
- package/__test__/dbml2sql/filename --oracle --out-file/in-files/schema.dbml +0 -0
- package/__test__/dbml2sql/filename --oracle --out-file/options.json +0 -0
- package/__test__/dbml2sql/filename --oracle --out-file/out-files/schema.sql +1 -1
- package/__test__/dbml2sql/filename --oracle --out-file/stdout.txt +0 -0
- package/__test__/dbml2sql/filename --oracle stdout/dbml-error.log +0 -0
- package/__test__/dbml2sql/filename --oracle stdout/in-files/schema.dbml +0 -0
- package/__test__/dbml2sql/filename --oracle stdout/options.json +0 -0
- package/__test__/dbml2sql/filename --oracle stdout/stdout.txt +0 -0
- package/__test__/dbml2sql/filename --out-file/dbml-error.log +36 -0
- package/__test__/dbml2sql/filename --out-file/expect-out-files/schema.sql +0 -0
- package/__test__/dbml2sql/filename --out-file/in-files/schema.dbml +0 -0
- package/__test__/dbml2sql/filename --out-file/options.json +0 -0
- package/__test__/dbml2sql/filename --out-file/out-files/schema.sql +1 -1
- package/__test__/dbml2sql/filename --out-file/stdout.txt +0 -0
- package/__test__/dbml2sql/filename --postgres --out-file/dbml-error.log +24 -0
- package/__test__/dbml2sql/filename --postgres --out-file/expect-out-files/schema.sql +0 -0
- package/__test__/dbml2sql/filename --postgres --out-file/in-files/schema.dbml +0 -0
- package/__test__/dbml2sql/filename --postgres --out-file/options.json +0 -0
- package/__test__/dbml2sql/filename --postgres --out-file/out-files/schema.sql +1 -1
- package/__test__/dbml2sql/filename --postgres --out-file/stdout.txt +0 -0
- package/__test__/dbml2sql/filename --postgres stdout/dbml-error.log +0 -0
- package/__test__/dbml2sql/filename --postgres stdout/in-files/schema.dbml +0 -0
- package/__test__/dbml2sql/filename --postgres stdout/options.json +0 -0
- package/__test__/dbml2sql/filename --postgres stdout/stdout.txt +0 -0
- package/__test__/dbml2sql/filename stdout/dbml-error.log +0 -0
- package/__test__/dbml2sql/filename stdout/in-files/schema.dbml +0 -0
- package/__test__/dbml2sql/filename stdout/options.json +0 -0
- package/__test__/dbml2sql/filename stdout/stdout.txt +0 -0
- package/__test__/dbml2sql/filenames --mysql --out-file/dbml-error.log +24 -0
- package/__test__/dbml2sql/filenames --mysql --out-file/expect-out-files/schema.sql +0 -0
- package/__test__/dbml2sql/filenames --mysql --out-file/in-files/business.dbml +0 -0
- package/__test__/dbml2sql/filenames --mysql --out-file/in-files/customer.dbml +0 -0
- package/__test__/dbml2sql/filenames --mysql --out-file/in-files/inventory.dbml +0 -0
- package/__test__/dbml2sql/filenames --mysql --out-file/options.json +0 -0
- package/__test__/dbml2sql/filenames --mysql --out-file/out-files/schema.sql +1 -1
- package/__test__/dbml2sql/filenames --mysql --out-file/stdout.txt +0 -0
- package/__test__/dbml2sql/filenames --mysql stdout/dbml-error.log +0 -0
- package/__test__/dbml2sql/filenames --mysql stdout/in-files/business.dbml +0 -0
- package/__test__/dbml2sql/filenames --mysql stdout/in-files/customer.dbml +0 -0
- package/__test__/dbml2sql/filenames --mysql stdout/in-files/inventory.dbml +0 -0
- package/__test__/dbml2sql/filenames --mysql stdout/options.json +0 -0
- package/__test__/dbml2sql/filenames --mysql stdout/stdout.txt +0 -0
- package/__test__/dbml2sql/filenames --oracle --out-file/dbml-error.log +0 -0
- package/__test__/dbml2sql/filenames --oracle --out-file/expect-out-files/schema.sql +0 -0
- package/__test__/dbml2sql/filenames --oracle --out-file/in-files/business.dbml +0 -0
- package/__test__/dbml2sql/filenames --oracle --out-file/in-files/customer.dbml +0 -0
- package/__test__/dbml2sql/filenames --oracle --out-file/in-files/inventory.dbml +0 -0
- package/__test__/dbml2sql/filenames --oracle --out-file/options.json +0 -0
- package/__test__/dbml2sql/filenames --oracle --out-file/out-files/schema.sql +1 -1
- package/__test__/dbml2sql/filenames --oracle --out-file/stdout.txt +0 -0
- package/__test__/dbml2sql/filenames --oracle stdout/dbml-error.log +0 -0
- package/__test__/dbml2sql/filenames --oracle stdout/in-files/business.dbml +0 -0
- package/__test__/dbml2sql/filenames --oracle stdout/in-files/customer.dbml +0 -0
- package/__test__/dbml2sql/filenames --oracle stdout/in-files/inventory.dbml +0 -0
- package/__test__/dbml2sql/filenames --oracle stdout/options.json +0 -0
- package/__test__/dbml2sql/filenames --oracle stdout/stdout.txt +0 -0
- package/__test__/dbml2sql/filenames --out-file/dbml-error.log +24 -0
- package/__test__/dbml2sql/filenames --out-file/expect-out-files/schema.sql +0 -0
- package/__test__/dbml2sql/filenames --out-file/in-files/business.dbml +0 -0
- package/__test__/dbml2sql/filenames --out-file/in-files/customer.dbml +0 -0
- package/__test__/dbml2sql/filenames --out-file/in-files/inventory.dbml +0 -0
- package/__test__/dbml2sql/filenames --out-file/options.json +0 -0
- package/__test__/dbml2sql/filenames --out-file/out-files/schema.sql +1 -1
- package/__test__/dbml2sql/filenames --out-file/stdout.txt +0 -0
- package/__test__/dbml2sql/filenames --postgres --out-file/dbml-error.log +24 -0
- package/__test__/dbml2sql/filenames --postgres --out-file/expect-out-files/schema.sql +0 -0
- package/__test__/dbml2sql/filenames --postgres --out-file/in-files/business.dbml +0 -0
- package/__test__/dbml2sql/filenames --postgres --out-file/in-files/customer.dbml +0 -0
- package/__test__/dbml2sql/filenames --postgres --out-file/in-files/inventory.dbml +0 -0
- package/__test__/dbml2sql/filenames --postgres --out-file/options.json +0 -0
- package/__test__/dbml2sql/filenames --postgres --out-file/out-files/schema.sql +1 -1
- package/__test__/dbml2sql/filenames --postgres --out-file/stdout.txt +0 -0
- package/__test__/dbml2sql/filenames --postgres stdout/dbml-error.log +0 -0
- package/__test__/dbml2sql/filenames --postgres stdout/in-files/business.dbml +0 -0
- package/__test__/dbml2sql/filenames --postgres stdout/in-files/customer.dbml +0 -0
- package/__test__/dbml2sql/filenames --postgres stdout/in-files/inventory.dbml +0 -0
- package/__test__/dbml2sql/filenames --postgres stdout/options.json +0 -0
- package/__test__/dbml2sql/filenames --postgres stdout/stdout.txt +0 -0
- package/__test__/dbml2sql/filenames stdout/dbml-error.log +0 -0
- package/__test__/dbml2sql/filenames stdout/in-files/business.dbml +0 -0
- package/__test__/dbml2sql/filenames stdout/in-files/customer.dbml +0 -0
- package/__test__/dbml2sql/filenames stdout/in-files/inventory.dbml +0 -0
- package/__test__/dbml2sql/filenames stdout/options.json +0 -0
- package/__test__/dbml2sql/filenames stdout/stdout.txt +0 -0
- package/__test__/dbml2sql/multiple_schema_mssql/dbml-error.log +24 -0
- package/__test__/dbml2sql/multiple_schema_mssql/expect-out-files/multiple_schema.out.sql +0 -0
- package/__test__/dbml2sql/multiple_schema_mssql/in-files/multiple_schema.in.dbml +0 -0
- package/__test__/dbml2sql/multiple_schema_mssql/options.json +0 -0
- package/__test__/dbml2sql/multiple_schema_mssql/out-files/multiple_schema.out.sql +1 -1
- package/__test__/dbml2sql/multiple_schema_mssql/stdout.txt +0 -0
- package/__test__/dbml2sql/multiple_schema_mysql/dbml-error.log +24 -0
- package/__test__/dbml2sql/multiple_schema_mysql/expect-out-files/multiple_schema.out.sql +0 -0
- package/__test__/dbml2sql/multiple_schema_mysql/in-files/multiple_schema.in.dbml +0 -0
- package/__test__/dbml2sql/multiple_schema_mysql/options.json +0 -0
- package/__test__/dbml2sql/multiple_schema_mysql/out-files/multiple_schema.out.sql +1 -1
- package/__test__/dbml2sql/multiple_schema_mysql/stdout.txt +0 -0
- package/__test__/dbml2sql/multiple_schema_oracle/dbml-error.log +0 -0
- package/__test__/dbml2sql/multiple_schema_oracle/expect-out-files/multiple_schema.out.sql +0 -0
- package/__test__/dbml2sql/multiple_schema_oracle/in-files/multiple_schema.in.dbml +0 -0
- package/__test__/dbml2sql/multiple_schema_oracle/options.json +0 -0
- package/__test__/dbml2sql/multiple_schema_oracle/out-files/multiple_schema.out.sql +1 -1
- package/__test__/dbml2sql/multiple_schema_oracle/stdout.txt +0 -0
- package/__test__/dbml2sql/multiple_schema_pg/dbml-error.log +24 -0
- package/__test__/dbml2sql/multiple_schema_pg/expect-out-files/multiple_schema.out.sql +0 -0
- package/__test__/dbml2sql/multiple_schema_pg/in-files/multiple_schema.in.dbml +0 -0
- package/__test__/dbml2sql/multiple_schema_pg/options.json +0 -0
- package/__test__/dbml2sql/multiple_schema_pg/out-files/multiple_schema.out.sql +1 -1
- package/__test__/dbml2sql/multiple_schema_pg/stdout.txt +0 -0
- package/__test__/dbml2sql/syntax-error/dbml-error.log +2103 -12
- package/__test__/dbml2sql/syntax-error/in-files/ecommerce.dbml +0 -0
- package/__test__/dbml2sql/syntax-error/options.json +0 -0
- package/__test__/dbml2sql/syntax-error/stdout.txt +0 -0
- package/__test__/dbml2sql_bin.js +0 -0
- package/__test__/sql2dbml/filename --mssql --out-file/dbml-error.log +51 -0
- package/__test__/sql2dbml/filename --mssql --out-file/expect-out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filename --mssql --out-file/in-files/schema.sql +0 -0
- package/__test__/sql2dbml/filename --mssql --out-file/options.json +0 -0
- package/__test__/sql2dbml/filename --mssql --out-file/out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filename --mssql --out-file/stdout.txt +0 -0
- package/__test__/sql2dbml/filename --mysql --out-file/dbml-error.log +24 -0
- package/__test__/sql2dbml/filename --mysql --out-file/expect-out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filename --mysql --out-file/in-files/schema.sql +0 -0
- package/__test__/sql2dbml/filename --mysql --out-file/options.json +0 -0
- package/__test__/sql2dbml/filename --mysql --out-file/out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filename --mysql --out-file/stdout.txt +0 -0
- package/__test__/sql2dbml/filename --mysql stdout/dbml-error.log +0 -0
- package/__test__/sql2dbml/filename --mysql stdout/in-files/schema.sql +0 -0
- package/__test__/sql2dbml/filename --mysql stdout/options.json +0 -0
- package/__test__/sql2dbml/filename --mysql stdout/stdout.txt +0 -0
- package/__test__/sql2dbml/filename --out-file/dbml-error.log +24 -0
- package/__test__/sql2dbml/filename --out-file/expect-out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filename --out-file/in-files/schema.sql +0 -0
- package/__test__/sql2dbml/filename --out-file/options.json +0 -0
- package/__test__/sql2dbml/filename --out-file/out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filename --out-file/stdout.txt +0 -0
- package/__test__/sql2dbml/filename --postgres --out-file/dbml-error.log +24 -0
- package/__test__/sql2dbml/filename --postgres --out-file/expect-out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filename --postgres --out-file/in-files/schema.sql +0 -0
- package/__test__/sql2dbml/filename --postgres --out-file/options.json +0 -0
- package/__test__/sql2dbml/filename --postgres --out-file/out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filename --postgres --out-file/stdout.txt +0 -0
- package/__test__/sql2dbml/filename --postgres stdout/dbml-error.log +0 -0
- package/__test__/sql2dbml/filename --postgres stdout/in-files/schema.sql +0 -0
- package/__test__/sql2dbml/filename --postgres stdout/options.json +0 -0
- package/__test__/sql2dbml/filename --postgres stdout/stdout.txt +0 -0
- package/__test__/sql2dbml/filename --snowflake stdout/dbml-error.log +54 -0
- package/__test__/sql2dbml/filename --snowflake stdout/in-files/schema.sql +0 -0
- package/__test__/sql2dbml/filename --snowflake stdout/options.json +0 -0
- package/__test__/sql2dbml/filename --snowflake stdout/stdout.txt +0 -0
- package/__test__/sql2dbml/filename stdout/dbml-error.log +0 -0
- package/__test__/sql2dbml/filename stdout/in-files/schema.sql +0 -0
- package/__test__/sql2dbml/filename stdout/options.json +0 -0
- package/__test__/sql2dbml/filename stdout/stdout.txt +0 -0
- package/__test__/sql2dbml/filenames --mysql --out-file/dbml-error.log +24 -0
- package/__test__/sql2dbml/filenames --mysql --out-file/expect-out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filenames --mysql --out-file/in-files/business.sql +0 -0
- package/__test__/sql2dbml/filenames --mysql --out-file/in-files/customer.sql +0 -0
- package/__test__/sql2dbml/filenames --mysql --out-file/in-files/inventory.sql +0 -0
- package/__test__/sql2dbml/filenames --mysql --out-file/options.json +0 -0
- package/__test__/sql2dbml/filenames --mysql --out-file/out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filenames --mysql --out-file/stdout.txt +0 -0
- package/__test__/sql2dbml/filenames --mysql stdout/dbml-error.log +0 -0
- package/__test__/sql2dbml/filenames --mysql stdout/in-files/business.sql +0 -0
- package/__test__/sql2dbml/filenames --mysql stdout/in-files/customer.sql +0 -0
- package/__test__/sql2dbml/filenames --mysql stdout/in-files/inventory.sql +0 -0
- package/__test__/sql2dbml/filenames --mysql stdout/options.json +0 -0
- package/__test__/sql2dbml/filenames --mysql stdout/stdout.txt +0 -0
- package/__test__/sql2dbml/filenames --out-file/dbml-error.log +24 -0
- package/__test__/sql2dbml/filenames --out-file/expect-out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filenames --out-file/in-files/business.sql +0 -0
- package/__test__/sql2dbml/filenames --out-file/in-files/customer.sql +0 -0
- package/__test__/sql2dbml/filenames --out-file/in-files/inventory.sql +0 -0
- package/__test__/sql2dbml/filenames --out-file/options.json +0 -0
- package/__test__/sql2dbml/filenames --out-file/out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filenames --out-file/stdout.txt +0 -0
- package/__test__/sql2dbml/filenames --postgres --out-file/dbml-error.log +24 -0
- package/__test__/sql2dbml/filenames --postgres --out-file/expect-out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filenames --postgres --out-file/in-files/business.sql +0 -0
- package/__test__/sql2dbml/filenames --postgres --out-file/in-files/customer.sql +0 -0
- package/__test__/sql2dbml/filenames --postgres --out-file/in-files/inventory.sql +0 -0
- package/__test__/sql2dbml/filenames --postgres --out-file/options.json +0 -0
- package/__test__/sql2dbml/filenames --postgres --out-file/out-files/schema.dbml +0 -0
- package/__test__/sql2dbml/filenames --postgres --out-file/stdout.txt +0 -0
- package/__test__/sql2dbml/filenames --postgres stdout/dbml-error.log +0 -0
- package/__test__/sql2dbml/filenames --postgres stdout/in-files/business.sql +0 -0
- package/__test__/sql2dbml/filenames --postgres stdout/in-files/customer.sql +0 -0
- package/__test__/sql2dbml/filenames --postgres stdout/in-files/inventory.sql +0 -0
- package/__test__/sql2dbml/filenames --postgres stdout/options.json +0 -0
- package/__test__/sql2dbml/filenames --postgres stdout/stdout.txt +0 -0
- package/__test__/sql2dbml/filenames stdout/dbml-error.log +0 -0
- package/__test__/sql2dbml/filenames stdout/in-files/business.sql +0 -0
- package/__test__/sql2dbml/filenames stdout/in-files/customer.sql +0 -0
- package/__test__/sql2dbml/filenames stdout/in-files/inventory.sql +0 -0
- package/__test__/sql2dbml/filenames stdout/options.json +0 -0
- package/__test__/sql2dbml/filenames stdout/stdout.txt +0 -0
- package/__test__/sql2dbml/multiple_schema_mssql/dbml-error.log +121 -0
- package/__test__/sql2dbml/multiple_schema_mssql/expect-out-files/multiple_schema.out.dbml +0 -0
- package/__test__/sql2dbml/multiple_schema_mssql/in-files/multiple_schema.in.sql +0 -0
- package/__test__/sql2dbml/multiple_schema_mssql/options.json +0 -0
- package/__test__/sql2dbml/multiple_schema_mssql/out-files/multiple_schema.out.dbml +0 -0
- package/__test__/sql2dbml/multiple_schema_mssql/stdout.txt +0 -0
- package/__test__/sql2dbml/multiple_schema_mysql/dbml-error.log +104 -0
- package/__test__/sql2dbml/multiple_schema_mysql/expect-out-files/multiple_schema.out.dbml +0 -0
- package/__test__/sql2dbml/multiple_schema_mysql/in-files/multiple_schema.in.sql +0 -0
- package/__test__/sql2dbml/multiple_schema_mysql/options.json +0 -0
- package/__test__/sql2dbml/multiple_schema_mysql/out-files/multiple_schema.out.dbml +0 -0
- package/__test__/sql2dbml/multiple_schema_mysql/stdout.txt +0 -0
- package/__test__/sql2dbml/multiple_schema_pg/dbml-error.log +131 -0
- package/__test__/sql2dbml/multiple_schema_pg/expect-out-files/multiple_schema.out.dbml +0 -0
- package/__test__/sql2dbml/multiple_schema_pg/in-files/multiple_schema.in.sql +0 -0
- package/__test__/sql2dbml/multiple_schema_pg/options.json +0 -0
- package/__test__/sql2dbml/multiple_schema_pg/out-files/multiple_schema.out.dbml +0 -0
- package/__test__/sql2dbml/multiple_schema_pg/stdout.txt +0 -0
- package/__test__/sql2dbml/syntax-error/dbml-error.log +2076 -12
- package/__test__/sql2dbml/syntax-error/in-files/business.sql +0 -0
- package/__test__/sql2dbml/syntax-error/options.json +0 -0
- package/__test__/sql2dbml/syntax-error/stdout.txt +0 -0
- package/__test__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +28 -16
- package/__test__/sql2dbml/syntax-error-duplicate-endpoints --mssql/in-files/schema.sql +0 -0
- package/__test__/sql2dbml/syntax-error-duplicate-endpoints --mssql/options.json +0 -0
- package/__test__/sql2dbml/syntax-error-duplicate-endpoints --mssql/stdout.txt +0 -0
- package/__test__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +29 -14
- package/__test__/sql2dbml/syntax-error-duplicate-endpoints --mysql/in-files/schema.sql +0 -0
- package/__test__/sql2dbml/syntax-error-duplicate-endpoints --mysql/options.json +0 -0
- package/__test__/sql2dbml/syntax-error-duplicate-endpoints --mysql/stdout.txt +0 -0
- package/__test__/sql2dbml_bin.js +0 -0
- package/dbml-error.log +328 -139
- package/jestHelpers.js +0 -0
- package/lib/cli/config.js +0 -0
- package/lib/cli/connector.js +0 -0
- package/lib/cli/export.js +0 -0
- package/lib/cli/import.js +0 -0
- package/lib/cli/index.js +0 -0
- package/lib/cli/outputPlugins/outputConsolePlugin.js +0 -0
- package/lib/cli/outputPlugins/outputFilePlugin.js +0 -0
- package/lib/cli/utils.js +0 -0
- package/lib/cli/validatePlugins/validatePlugins.js +0 -0
- package/lib/errors/domainError.js +0 -0
- package/lib/errors/index.js +0 -0
- package/lib/errors/syntaxError.js +0 -0
- package/lib/helpers/logger.js +0 -0
- package/lib/index.js +0 -0
- package/package.json +4 -4
- package/src/cli/config.js +0 -0
- package/src/cli/connector.js +0 -0
- package/src/cli/export.js +0 -0
- package/src/cli/import.js +0 -0
- package/src/cli/index.js +0 -0
- package/src/cli/outputPlugins/outputConsolePlugin.js +0 -0
- package/src/cli/outputPlugins/outputFilePlugin.js +0 -0
- package/src/cli/utils.js +0 -0
- package/src/cli/validatePlugins/validatePlugins.js +0 -0
- package/src/errors/domainError.js +0 -0
- package/src/errors/index.js +0 -0
- package/src/errors/syntaxError.js +0 -0
- package/src/helpers/logger.js +0 -0
- package/src/index.js +0 -0
- package/__test__/db2dbml/mssql/dbml-error.log +0 -506
- package/__test__/db2dbml/mysql/dbml-error.log +0 -320
- package/__test__/db2dbml/mysql/out-files/schema.dbml +0 -180
- package/__test__/db2dbml/postgres/dbml-error.log +0 -291
- package/__test__/db2dbml/postgres/out-files/schema.dbml +0 -140
package/.babelrc
CHANGED
|
File without changes
|
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/__test__/cli.test.js
CHANGED
|
File without changes
|
|
@@ -13,18 +13,18 @@ Enum "dbo"."chk_gender" {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
Table "dbo"."Authors" {
|
|
16
|
-
"AuthorID" int [pk, not null]
|
|
17
|
-
"AuthorName" nvarchar [unique]
|
|
18
|
-
"BirthYear" int [unique]
|
|
19
|
-
"NationalityID" int [pk, not null]
|
|
16
|
+
"AuthorID" int(10) [pk, not null]
|
|
17
|
+
"AuthorName" nvarchar(100) [unique]
|
|
18
|
+
"BirthYear" int(10) [unique]
|
|
19
|
+
"NationalityID" int(10) [pk, not null]
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
Table "dbo"."Books" {
|
|
23
|
-
"AuthorID" int [pk, not null]
|
|
24
|
-
"BookID" int [pk, not null]
|
|
25
|
-
"ISBN" nvarchar [unique]
|
|
26
|
-
"NationalityID" int
|
|
27
|
-
"Title" nvarchar
|
|
23
|
+
"AuthorID" int(10) [pk, not null]
|
|
24
|
+
"BookID" int(10) [pk, not null]
|
|
25
|
+
"ISBN" nvarchar(20) [unique]
|
|
26
|
+
"NationalityID" int(10)
|
|
27
|
+
"Title" nvarchar(200)
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
Table "dbo"."DatetimeTypes" {
|
|
@@ -32,36 +32,49 @@ Table "dbo"."DatetimeTypes" {
|
|
|
32
32
|
"DATETIME2Col" datetime2 [default: `sysdatetime()`]
|
|
33
33
|
"DATETIMECol" datetime [default: `getdate()`]
|
|
34
34
|
"DATETIMEOFFSETCol" datetimeoffset [default: `sysdatetimeoffset()`]
|
|
35
|
-
"ID" int [pk, not null, increment]
|
|
35
|
+
"ID" int(10) [pk, not null, increment]
|
|
36
36
|
"ROWVERSIONCol" timestamp [not null]
|
|
37
37
|
"SMALLDATETIMECol" smalldatetime [default: `getdate()`]
|
|
38
38
|
"TIMECol" time [default: `CONVERT([time],getdate())`]
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
Table "dbo"."gender_reference" {
|
|
42
|
-
"value" nvarchar [pk, not null]
|
|
42
|
+
"value" nvarchar(10) [pk, not null]
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
Table "dbo"."NumberTypes" {
|
|
46
|
-
"BIGINTCol" bigint [default: 0]
|
|
46
|
+
"BIGINTCol" bigint(19) [default: 0]
|
|
47
47
|
"BITCol" bit [default: 0]
|
|
48
48
|
"DECIMALCol" decimal(10,2) [default: 0.00]
|
|
49
|
-
"FLOATCol" float [default: 0.0]
|
|
50
|
-
"ID" int [pk, not null, increment]
|
|
51
|
-
"INTCol" int [default: 0]
|
|
49
|
+
"FLOATCol" float(53) [default: 0.0]
|
|
50
|
+
"ID" int(10) [pk, not null, increment]
|
|
51
|
+
"INTCol" int(10) [default: 0]
|
|
52
52
|
"NUMERICCol" numeric(10,2) [default: 0.00]
|
|
53
|
-
"REALCol" real [default: 0.0]
|
|
54
|
-
"SMALLINTCol" smallint [default: 0]
|
|
55
|
-
"TINYINTCol" tinyint [default: 0]
|
|
53
|
+
"REALCol" real(24) [default: 0.0]
|
|
54
|
+
"SMALLINTCol" smallint(5) [default: 0]
|
|
55
|
+
"TINYINTCol" tinyint(3) [default: 0]
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
Table "dbo"."NumberTypesNoDefault" {
|
|
59
|
+
"BIGINTCol" bigint(19)
|
|
60
|
+
"BITCol" bit
|
|
61
|
+
"DECIMALCol" decimal(10,2)
|
|
62
|
+
"FLOATCol" float(53)
|
|
63
|
+
"ID" int(10) [pk, not null, increment]
|
|
64
|
+
"INTCol" int(10)
|
|
65
|
+
"NUMERICCol" numeric(10,2)
|
|
66
|
+
"REALCol" real(24)
|
|
67
|
+
"SMALLINTCol" smallint(5)
|
|
68
|
+
"TINYINTCol" tinyint(3)
|
|
56
69
|
}
|
|
57
70
|
|
|
58
71
|
Table "dbo"."ObjectTypes" {
|
|
59
|
-
"BinaryField" binary [default: `0x00`]
|
|
60
|
-
"Id" int [pk, not null, increment]
|
|
72
|
+
"BinaryField" binary(50) [default: `0x00`]
|
|
73
|
+
"Id" int(10) [pk, not null, increment]
|
|
61
74
|
"ImageField" image [default: `0x00`]
|
|
62
|
-
"JsonField" nvarchar [default: `N'{"defaultKey": "defaultValue", "status": "active", "count": 0}'`]
|
|
63
|
-
"VarBinaryField" varbinary [default: `0x00`]
|
|
64
|
-
"VarBinaryMaxField" varbinary [default: `0x00`]
|
|
75
|
+
"JsonField" nvarchar(MAX) [default: `N'{"defaultKey": "defaultValue", "status": "active", "count": 0}'`]
|
|
76
|
+
"VarBinaryField" varbinary(50) [default: `0x00`]
|
|
77
|
+
"VarBinaryMaxField" varbinary(MAX) [default: `0x00`]
|
|
65
78
|
"XmlField" xml [default: '''<Books>
|
|
66
79
|
<Book>
|
|
67
80
|
<Title>The Great Gatsby</Title>
|
|
@@ -87,11 +100,11 @@ Table "dbo"."ObjectTypes" {
|
|
|
87
100
|
}
|
|
88
101
|
|
|
89
102
|
Table "dbo"."order_items" {
|
|
90
|
-
"order_id" int [unique, not null]
|
|
91
|
-
"order_item_id" int [pk, not null, increment]
|
|
92
|
-
"product_id" int [unique, not null]
|
|
93
|
-
"quantity" int [not null]
|
|
94
|
-
"unit_price" decimal [not null]
|
|
103
|
+
"order_id" int(10) [unique, not null]
|
|
104
|
+
"order_item_id" int(10) [pk, not null, increment]
|
|
105
|
+
"product_id" int(10) [unique, not null]
|
|
106
|
+
"quantity" int(10) [not null]
|
|
107
|
+
"unit_price" decimal(10,2) [not null]
|
|
95
108
|
|
|
96
109
|
Indexes {
|
|
97
110
|
(order_id, product_id) [type: nonclustered, name: "idx_order_items_order_product"]
|
|
@@ -101,11 +114,11 @@ Table "dbo"."order_items" {
|
|
|
101
114
|
Table "dbo"."orders" {
|
|
102
115
|
"billing_address" text [not null]
|
|
103
116
|
"order_date" datetime2 [default: `getdate()`]
|
|
104
|
-
"order_id" int [pk, not null, increment]
|
|
117
|
+
"order_id" int(10) [pk, not null, increment]
|
|
105
118
|
"shipping_address" text [not null]
|
|
106
119
|
"status" dbo.chk_status [default: 'pending']
|
|
107
|
-
"total_amount" decimal [not null]
|
|
108
|
-
"user_id" int [not null]
|
|
120
|
+
"total_amount" decimal(12,2) [not null]
|
|
121
|
+
"user_id" int(10) [not null]
|
|
109
122
|
|
|
110
123
|
Indexes {
|
|
111
124
|
(user_id, order_date) [type: nonclustered, name: "idx_orders_user_date"]
|
|
@@ -113,14 +126,14 @@ Table "dbo"."orders" {
|
|
|
113
126
|
}
|
|
114
127
|
|
|
115
128
|
Table "dbo"."products" {
|
|
116
|
-
"category" varchar
|
|
129
|
+
"category" varchar(50)
|
|
117
130
|
"created_at" datetime2 [default: `getdate()`]
|
|
118
131
|
"description" text
|
|
119
132
|
"is_available" bit [default: 1]
|
|
120
|
-
"name" varchar [not null]
|
|
121
|
-
"price" decimal [not null]
|
|
122
|
-
"product_id" int [pk, not null, increment]
|
|
123
|
-
"stock_quantity" int [not null, default: 0]
|
|
133
|
+
"name" varchar(100) [not null]
|
|
134
|
+
"price" decimal(10,2) [not null]
|
|
135
|
+
"product_id" int(10) [pk, not null, increment]
|
|
136
|
+
"stock_quantity" int(10) [not null, default: 0]
|
|
124
137
|
"updated_at" datetime2 [default: `getdate()`]
|
|
125
138
|
|
|
126
139
|
Indexes {
|
|
@@ -130,47 +143,47 @@ Table "dbo"."products" {
|
|
|
130
143
|
|
|
131
144
|
Table "dbo"."StringTypes" {
|
|
132
145
|
"CharField" char(10) [default: 'N/A']
|
|
133
|
-
"Id" int [pk, not null, increment]
|
|
134
|
-
"NCharField" nchar [default: `N'N/A'`]
|
|
146
|
+
"Id" int(10) [pk, not null, increment]
|
|
147
|
+
"NCharField" nchar(10) [default: `N'N/A'`]
|
|
135
148
|
"NTextField" ntext [default: `N'N/A'`]
|
|
136
|
-
"NVarCharField" nvarchar [default: `N'N/A'`]
|
|
137
|
-
"NVarCharMaxField" nvarchar [default: `N'N/A'`]
|
|
138
|
-
"TextField" text
|
|
149
|
+
"NVarCharField" nvarchar(50) [default: `N'N/A'`]
|
|
150
|
+
"NVarCharMaxField" nvarchar(MAX) [default: `N'N/A'`]
|
|
151
|
+
"TextField" text [default: 'N/A']
|
|
139
152
|
"VarcharField" varchar(50) [default: '{"default_key": "default_value"}']
|
|
140
|
-
"VarcharMaxField" varchar [default: 'N/A']
|
|
153
|
+
"VarcharMaxField" varchar(MAX) [default: 'N/A']
|
|
141
154
|
}
|
|
142
155
|
|
|
143
156
|
Table "dbo"."table_with_comments" {
|
|
144
157
|
"created_at" datetime2 [default: `getdate()`, note: 'Timestamp when the item was created.']
|
|
145
|
-
"description" text [note: '
|
|
146
|
-
"id" int [pk, not null, increment, note: 'Unique identifier for each item.']
|
|
147
|
-
"name" varchar [note: 'Name of the item.']
|
|
158
|
+
"description" text [note: '''Item\'s description''']
|
|
159
|
+
"id" int(10) [pk, not null, increment, note: 'Unique identifier for each item.']
|
|
160
|
+
"name" varchar(100) [note: 'Name of the item.']
|
|
148
161
|
Note: 'This table stores information about various items.'
|
|
149
162
|
}
|
|
150
163
|
|
|
151
164
|
Table "dbo"."user_define_data_types" {
|
|
152
|
-
"age_end" int
|
|
153
|
-
"age_start" int
|
|
165
|
+
"age_end" int(10)
|
|
166
|
+
"age_start" int(10)
|
|
154
167
|
"gender" dbo.chk_gender
|
|
155
|
-
"height" float
|
|
156
|
-
"id" int [pk, not null, increment]
|
|
157
|
-
"name" nvarchar
|
|
158
|
-
"weight" float
|
|
168
|
+
"height" float(53)
|
|
169
|
+
"id" int(10) [pk, not null, increment]
|
|
170
|
+
"name" nvarchar(50)
|
|
171
|
+
"weight" float(53)
|
|
159
172
|
}
|
|
160
173
|
|
|
161
174
|
Table "dbo"."users" {
|
|
162
175
|
"created_at" datetime2 [default: `getdate()`]
|
|
163
176
|
"date_of_birth" date
|
|
164
|
-
"email" varchar [unique, not null]
|
|
165
|
-
"first_name" varchar
|
|
166
|
-
"full_name" varchar
|
|
167
|
-
"full_name_lower" varchar
|
|
177
|
+
"email" varchar(100) [unique, not null]
|
|
178
|
+
"first_name" varchar(50)
|
|
179
|
+
"full_name" varchar(100)
|
|
180
|
+
"full_name_lower" varchar(100)
|
|
168
181
|
"is_active" bit [default: 1]
|
|
169
182
|
"last_login" datetime2
|
|
170
|
-
"last_name" varchar
|
|
171
|
-
"password_hash" varchar [not null]
|
|
172
|
-
"user_id" int [pk, not null, increment]
|
|
173
|
-
"username" varchar [unique, not null]
|
|
183
|
+
"last_name" varchar(50)
|
|
184
|
+
"password_hash" varchar(255) [not null]
|
|
185
|
+
"user_id" int(10) [pk, not null, increment]
|
|
186
|
+
"username" varchar(50) [unique, not null]
|
|
174
187
|
|
|
175
188
|
Indexes {
|
|
176
189
|
email [type: nonclustered, name: "idx_users_email"]
|
|
File without changes
|
|
@@ -132,6 +132,20 @@ CREATE TABLE NumberTypes (
|
|
|
132
132
|
);
|
|
133
133
|
GO
|
|
134
134
|
|
|
135
|
+
CREATE TABLE NumberTypesNoDefault (
|
|
136
|
+
ID INT IDENTITY(1,1) PRIMARY KEY,
|
|
137
|
+
TINYINTCol TINYINT,
|
|
138
|
+
SMALLINTCol SMALLINT,
|
|
139
|
+
INTCol INT,
|
|
140
|
+
BIGINTCol BIGINT,
|
|
141
|
+
DECIMALCol DECIMAL(10, 2),
|
|
142
|
+
NUMERICCol NUMERIC(10, 2),
|
|
143
|
+
FLOATCol FLOAT,
|
|
144
|
+
REALCol REAL,
|
|
145
|
+
BITCol BIT
|
|
146
|
+
);
|
|
147
|
+
GO
|
|
148
|
+
|
|
135
149
|
-- Create a table with default values for date and time types
|
|
136
150
|
CREATE TABLE DatetimeTypes (
|
|
137
151
|
ID INT IDENTITY(1,1) PRIMARY KEY,
|
|
@@ -251,7 +265,7 @@ GO
|
|
|
251
265
|
|
|
252
266
|
EXEC sys.sp_addextendedproperty
|
|
253
267
|
@name=N'MS_Description',
|
|
254
|
-
@value=N'
|
|
268
|
+
@value=N'Item''s description',
|
|
255
269
|
@level0type=N'SCHEMA',
|
|
256
270
|
@level0name=N'dbo',
|
|
257
271
|
@level1type=N'TABLE',
|
|
File without changes
|
|
@@ -98,8 +98,8 @@ Table "default_example" {
|
|
|
98
98
|
|
|
99
99
|
Table "hash_index_example" {
|
|
100
100
|
"id" int [pk, not null, note: 'unique identifier for each record']
|
|
101
|
-
"name" varchar(100) [note: 'first name of the individual']
|
|
102
|
-
"name1" varchar(100) [note: 'last name of the individual']
|
|
101
|
+
"name" varchar(100) [note: '''first name\'s of the individual''']
|
|
102
|
+
"name1" varchar(100) [note: '''last name\'s of the individual''']
|
|
103
103
|
|
|
104
104
|
Indexes {
|
|
105
105
|
(name, name1) [type: hash, name: "idx_name_name1"]
|
|
File without changes
|
|
@@ -124,8 +124,8 @@ create unique index idx_email_unique on index_example (email);
|
|
|
124
124
|
-- comments & hash index
|
|
125
125
|
create table hash_index_example (
|
|
126
126
|
id int primary key comment 'unique identifier for each record',
|
|
127
|
-
name varchar(100) comment 'first name of the individual',
|
|
128
|
-
name1 varchar(100) comment 'last name of the individual',
|
|
127
|
+
name varchar(100) comment 'first name''s of the individual',
|
|
128
|
+
name1 varchar(100) comment 'last name''s of the individual',
|
|
129
129
|
index idx_name_name1 (name, name1) using hash comment 'hash index for fast lookups on name and name1'
|
|
130
130
|
) engine=memory comment='table for storing names with a hash index';
|
|
131
131
|
|
|
File without changes
|
|
@@ -136,10 +136,10 @@ Table "table2" {
|
|
|
136
136
|
|
|
137
137
|
Table "table_with_comments" {
|
|
138
138
|
"id" int4 [pk, not null, increment, note: 'Unique identifier for each item.']
|
|
139
|
-
"name" varchar(100) [note: '
|
|
140
|
-
"description" text [note: '
|
|
139
|
+
"name" varchar(100) [note: '''Item\'s name.''']
|
|
140
|
+
"description" text [note: '''Item\'s description''']
|
|
141
141
|
"created_at" timestamptz [default: `CURRENT_TIMESTAMP`, note: 'Timestamp when the item was created.']
|
|
142
|
-
Note: 'This table stores information about various items.'
|
|
142
|
+
Note: '''This table stores information about various items. Such as: \'id\', \'name\', \'description\''''
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
Table "user_define_data_types" {
|
|
File without changes
|
|
@@ -130,10 +130,10 @@ CREATE TABLE table_with_comments (
|
|
|
130
130
|
);
|
|
131
131
|
|
|
132
132
|
-- Add comments
|
|
133
|
-
COMMENT ON TABLE table_with_comments IS 'This table stores information about various items.';
|
|
133
|
+
COMMENT ON TABLE table_with_comments IS 'This table stores information about various items. Such as: ''id'', ''name'', ''description''';
|
|
134
134
|
COMMENT ON COLUMN table_with_comments.id IS 'Unique identifier for each item.';
|
|
135
|
-
COMMENT ON COLUMN table_with_comments.name IS '
|
|
136
|
-
COMMENT ON COLUMN table_with_comments.description IS '
|
|
135
|
+
COMMENT ON COLUMN table_with_comments.name IS 'Item''s name.';
|
|
136
|
+
COMMENT ON COLUMN table_with_comments.description IS 'Item''s description';
|
|
137
137
|
COMMENT ON COLUMN table_with_comments.created_at IS 'Timestamp when the item was created.';
|
|
138
138
|
|
|
139
139
|
-- Create Authors table
|
|
File without changes
|
package/__test__/db2dbml_bin.js
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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
|
+
|
|
File without changes
|
|
File without changes
|
|
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
|
+
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|