@dbml/cli 3.9.7-alpha.0 → 3.10.2
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/dbml-error.log +614 -0
- package/__test__/db2dbml/mssql/expect-out-files/schema.dbml +37 -4
- package/__test__/db2dbml/mssql/options.json +0 -0
- package/__test__/db2dbml/mssql/out-files/schema.dbml +236 -0
- package/__test__/db2dbml/mssql/schema.sql +25 -0
- package/__test__/db2dbml/mssql/stdout.txt +0 -0
- package/__test__/db2dbml/mysql/dbml-error.log +544 -0
- package/__test__/db2dbml/mysql/expect-out-files/schema.dbml +0 -0
- package/__test__/db2dbml/mysql/options.json +0 -0
- package/__test__/db2dbml/mysql/out-files/schema.dbml +180 -0
- package/__test__/db2dbml/mysql/schema.sql +0 -0
- package/__test__/db2dbml/mysql/stdout.txt +0 -0
- package/__test__/db2dbml/postgres/dbml-error.log +347 -0
- package/__test__/db2dbml/postgres/expect-out-files/schema.dbml +0 -0
- package/__test__/db2dbml/postgres/options.json +0 -0
- package/__test__/db2dbml/postgres/out-files/schema.dbml +180 -0
- package/__test__/db2dbml/postgres/schema.sql +0 -0
- 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 +0 -36
- 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 +0 -36
- 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 +0 -24
- 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 +0 -24
- 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 +0 -24
- 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 +0 -24
- 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 +0 -24
- 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 +0 -24
- 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 +0 -24
- 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 +12 -2103
- 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 +0 -51
- 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 +0 -24
- 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 +0 -24
- 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 +0 -24
- 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 +0 -54
- 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 +0 -24
- 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 +0 -24
- 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 +0 -24
- 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 +0 -121
- 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 +0 -104
- 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 +0 -131
- 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 +12 -2076
- 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 +16 -28
- 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 +14 -29
- 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 +249 -304
- 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/snowflake.log +8 -0
- 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/dbml-error.log
CHANGED
|
@@ -1,330 +1,275 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
at
|
|
4
|
-
at
|
|
5
|
-
at
|
|
6
|
-
at
|
|
7
|
-
at
|
|
8
|
-
at
|
|
9
|
-
at
|
|
10
|
-
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
|
|
11
|
-
at Module.load (node:internal/modules/cjs/loader:1033:32)
|
|
12
|
-
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
|
|
1
|
+
2024-08-07T02:44:57.506Z
|
|
2
|
+
Error: Error: connect ECONNREFUSED 127.0.0.1:3306
|
|
3
|
+
at _callee8$ (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:474:17)
|
|
4
|
+
at tryCatch (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:1357)
|
|
5
|
+
at Generator.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:4174)
|
|
6
|
+
at Generator.throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:2208)
|
|
7
|
+
at asyncGeneratorStep (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:17:103)
|
|
8
|
+
at _throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:18:291)
|
|
9
|
+
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
Error:
|
|
16
|
-
at
|
|
17
|
-
at
|
|
18
|
-
at
|
|
19
|
-
at
|
|
20
|
-
at
|
|
21
|
-
at
|
|
22
|
-
at
|
|
23
|
-
at Function.parseJSONToDatabase (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-core\lib\parse\Parser.js:38:22)
|
|
24
|
-
at Function.parse (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-core\lib\parse\Parser.js:105:27)
|
|
25
|
-
at Object._import [as import] (C:\Users\Inspiron101\Desktop\Holistics\dbml\packages\dbml-core\lib\import\index.js:15:37)
|
|
26
|
-
{"start":{"line":1,"column":1}}
|
|
27
|
-
|
|
28
|
-
2024-07-31T04:16:07.219Z
|
|
29
|
-
Error: SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string
|
|
30
|
-
at Object.continueSession (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg/lib/crypto/sasl.js:24:11)
|
|
31
|
-
at Client._handleAuthSASLContinue (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg/lib/client.js:272:18)
|
|
32
|
-
at Connection.emit (node:events:513:28)
|
|
33
|
-
at /media/siv/winshare/Holistics/dbx/dbml/node_modules/pg/lib/connection.js:117:12
|
|
34
|
-
at Parser.parse (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/parser.js:36:17)
|
|
35
|
-
at Socket.<anonymous> (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/index.js:11:42)
|
|
36
|
-
at Socket.emit (node:events:513:28)
|
|
37
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
38
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
39
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
11
|
+
2024-08-07T02:51:24.263Z
|
|
12
|
+
Error: Error: MySQL connection error:
|
|
13
|
+
at _callee8$ (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:485:17)
|
|
14
|
+
at tryCatch (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:1357)
|
|
15
|
+
at Generator.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:4174)
|
|
16
|
+
at Generator.throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:2208)
|
|
17
|
+
at asyncGeneratorStep (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:17:103)
|
|
18
|
+
at _throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:18:291)
|
|
19
|
+
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
|
40
20
|
|
|
41
|
-
2024-
|
|
42
|
-
Error:
|
|
43
|
-
at
|
|
44
|
-
at
|
|
45
|
-
at
|
|
46
|
-
at /
|
|
47
|
-
at
|
|
48
|
-
at
|
|
49
|
-
at
|
|
50
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
51
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
52
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
21
|
+
2024-08-07T02:52:34.901Z
|
|
22
|
+
Error: Error: MySQL connection error: Error: connect ECONNREFUSED 127.0.0.1:3306
|
|
23
|
+
at _callee8$ (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:485:17)
|
|
24
|
+
at tryCatch (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:1357)
|
|
25
|
+
at Generator.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:4174)
|
|
26
|
+
at Generator.throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:2208)
|
|
27
|
+
at asyncGeneratorStep (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:17:103)
|
|
28
|
+
at _throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:18:291)
|
|
29
|
+
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
|
53
30
|
|
|
54
|
-
2024-
|
|
55
|
-
Error:
|
|
56
|
-
at
|
|
57
|
-
at
|
|
58
|
-
at
|
|
59
|
-
at /
|
|
60
|
-
at
|
|
61
|
-
at
|
|
62
|
-
at
|
|
63
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
64
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
65
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
31
|
+
2024-08-07T02:53:35.536Z
|
|
32
|
+
Error: Error: MySQL connection error: Error: connect ECONNREFUSED 127.0.0.1:3306
|
|
33
|
+
at _callee8$ (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:485:17)
|
|
34
|
+
at tryCatch (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:1357)
|
|
35
|
+
at Generator.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:4174)
|
|
36
|
+
at Generator.throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:16:2208)
|
|
37
|
+
at asyncGeneratorStep (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:17:103)
|
|
38
|
+
at _throw (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/connection/mysql/utils/sql.js:18:291)
|
|
39
|
+
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
|
66
40
|
|
|
67
|
-
2024-
|
|
68
|
-
|
|
69
|
-
at
|
|
70
|
-
at
|
|
71
|
-
at
|
|
72
|
-
at /
|
|
73
|
-
at
|
|
74
|
-
at
|
|
75
|
-
at
|
|
76
|
-
at
|
|
77
|
-
at
|
|
78
|
-
at
|
|
41
|
+
2024-08-12T04:39:12.767Z
|
|
42
|
+
TypeError [ERR_INVALID_URL]: Invalid URL
|
|
43
|
+
at new NodeError (node:internal/errors:387:5)
|
|
44
|
+
at URL.onParseError (node:internal/url:565:9)
|
|
45
|
+
at new URL (node:internal/url:641:5)
|
|
46
|
+
at Function.parseUrl (/Users/huylm/code/dbx/dbml/node_modules/mysql2/lib/connection_config.js:263:23)
|
|
47
|
+
at new ConnectionConfig (/Users/huylm/code/dbx/dbml/node_modules/mysql2/lib/connection_config.js:75:34)
|
|
48
|
+
at Object.exports.createConnection (/Users/huylm/code/dbx/dbml/node_modules/mysql2/index.js:10:35)
|
|
49
|
+
at createConnection (/Users/huylm/code/dbx/dbml/node_modules/mysql2/promise.js:252:31)
|
|
50
|
+
at _callee$ (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/connectors/mysqlConnector.js:41:48)
|
|
51
|
+
at tryCatch (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/connectors/mysqlConnector.js:14:1357)
|
|
52
|
+
at Generator.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/connectors/mysqlConnector.js:14:4174)
|
|
79
53
|
|
|
80
|
-
2024-
|
|
81
|
-
Error:
|
|
82
|
-
at
|
|
83
|
-
at
|
|
84
|
-
at
|
|
85
|
-
at /media/siv/winshare/Holistics/dbx/dbml/node_modules/pg/lib/connection.js:117:12
|
|
86
|
-
at Parser.parse (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/parser.js:36:17)
|
|
87
|
-
at Socket.<anonymous> (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/index.js:11:42)
|
|
88
|
-
at Socket.emit (node:events:513:28)
|
|
89
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
90
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
91
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
54
|
+
2024-08-25T16:18:11.612Z
|
|
55
|
+
Error: Load credential error: ENOENT: no such file or directory, open 'bigquery'
|
|
56
|
+
at loadCredentialFromFile (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/utils/credential-loader.js:13:19)
|
|
57
|
+
at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/bigqueryConnector.js:256:27)
|
|
58
|
+
at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
|
|
92
59
|
|
|
93
|
-
2024-
|
|
94
|
-
Error:
|
|
95
|
-
at
|
|
96
|
-
at
|
|
97
|
-
at
|
|
98
|
-
at /media/siv/winshare/Holistics/dbx/dbml/node_modules/pg/lib/connection.js:117:12
|
|
99
|
-
at Parser.parse (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/parser.js:36:17)
|
|
100
|
-
at Socket.<anonymous> (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/index.js:11:42)
|
|
101
|
-
at Socket.emit (node:events:513:28)
|
|
102
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
103
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
104
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
60
|
+
2024-08-26T04:32:24.565Z
|
|
61
|
+
Error: Load credential error: ENOENT: no such file or directory, open 'bigquery'
|
|
62
|
+
at loadCredentialFromFile (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/utils/credential-loader.js:13:19)
|
|
63
|
+
at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/bigqueryConnector.js:259:27)
|
|
64
|
+
at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
|
|
105
65
|
|
|
106
|
-
2024-
|
|
107
|
-
|
|
108
|
-
at
|
|
109
|
-
at
|
|
110
|
-
at
|
|
111
|
-
at Module._compile (node:internal/modules/cjs/loader:1155:14)
|
|
112
|
-
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
|
|
113
|
-
at Module.load (node:internal/modules/cjs/loader:1033:32)
|
|
114
|
-
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
|
|
115
|
-
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
|
|
116
|
-
at node:internal/main/run_main_module:22:47
|
|
66
|
+
2024-08-26T09:05:40.128Z
|
|
67
|
+
Error: Load credential error: ENOENT: no such file or directory, open '/Users/huylm/code/dbx/dbml/packages/dbml-connector/keys/bq-test-key.json'
|
|
68
|
+
at loadCredentialFromFile (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/utils/credential-loader.js:13:19)
|
|
69
|
+
at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/bigqueryConnector.js:259:27)
|
|
70
|
+
at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
|
|
117
71
|
|
|
118
|
-
2024-
|
|
119
|
-
|
|
120
|
-
at
|
|
121
|
-
at
|
|
122
|
-
at
|
|
123
|
-
at Module._compile (node:internal/modules/cjs/loader:1155:14)
|
|
124
|
-
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
|
|
125
|
-
at Module.load (node:internal/modules/cjs/loader:1033:32)
|
|
126
|
-
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
|
|
127
|
-
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
|
|
128
|
-
at node:internal/main/run_main_module:22:47
|
|
72
|
+
2024-08-26T09:06:55.525Z
|
|
73
|
+
Error: Load credential error: ENOENT: no such file or directory, open '/Users/huylm/code/dbx/bq-test-key.json'
|
|
74
|
+
at loadCredentialFromFile (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/utils/credential-loader.js:13:19)
|
|
75
|
+
at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/bigqueryConnector.js:259:27)
|
|
76
|
+
at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
|
|
129
77
|
|
|
130
|
-
2024-
|
|
131
|
-
|
|
132
|
-
at
|
|
133
|
-
at
|
|
134
|
-
at
|
|
135
|
-
at Module._compile (node:internal/modules/cjs/loader:1155:14)
|
|
136
|
-
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
|
|
137
|
-
at Module.load (node:internal/modules/cjs/loader:1033:32)
|
|
138
|
-
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
|
|
139
|
-
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
|
|
140
|
-
at node:internal/main/run_main_module:22:47
|
|
78
|
+
2024-08-26T09:12:14.323Z
|
|
79
|
+
Error: Load credential error: ENOENT: no such file or directory, open '/Users/huylm/Users/huylm/code/dbx/bq-test-key.json'
|
|
80
|
+
at loadCredentialFromFile (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/utils/credential-loader.js:13:19)
|
|
81
|
+
at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/bigqueryConnector.js:259:27)
|
|
82
|
+
at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
|
|
141
83
|
|
|
142
|
-
2024-
|
|
143
|
-
|
|
144
|
-
at
|
|
145
|
-
at
|
|
146
|
-
at
|
|
147
|
-
at Module._compile (node:internal/modules/cjs/loader:1155:14)
|
|
148
|
-
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
|
|
149
|
-
at Module.load (node:internal/modules/cjs/loader:1033:32)
|
|
150
|
-
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
|
|
151
|
-
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
|
|
152
|
-
at node:internal/main/run_main_module:22:47
|
|
84
|
+
2024-08-26T09:12:39.045Z
|
|
85
|
+
Error: Load credential error: ENOENT: no such file or directory, open '/Users/huylm/code/dbx/dbml/packages/dbml-connector/keys/bq-test-key.json'
|
|
86
|
+
at loadCredentialFromFile (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/utils/credential-loader.js:13:19)
|
|
87
|
+
at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/bigqueryConnector.js:259:27)
|
|
88
|
+
at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
|
|
153
89
|
|
|
154
|
-
2024-
|
|
155
|
-
|
|
156
|
-
at
|
|
157
|
-
at
|
|
158
|
-
at Object
|
|
159
|
-
at
|
|
160
|
-
at
|
|
161
|
-
at Module.
|
|
162
|
-
at
|
|
90
|
+
2024-08-26T09:38:34.868Z
|
|
91
|
+
Error: Unsupported connection format: unknown
|
|
92
|
+
at Object.fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/connector.js:19:19)
|
|
93
|
+
at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:51)
|
|
94
|
+
at Object.db2dbml (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/index.js:66:26)
|
|
95
|
+
at Object.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-cli/bin/db2dbml.js:4:19)
|
|
96
|
+
at Module._compile (node:internal/modules/cjs/loader:1256:14)
|
|
97
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
|
|
98
|
+
at Module.load (node:internal/modules/cjs/loader:1119:32)
|
|
99
|
+
at Module._load (node:internal/modules/cjs/loader:960:12)
|
|
163
100
|
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
|
|
164
|
-
at node:internal/main/run_main_module:
|
|
101
|
+
at node:internal/main/run_main_module:23:47
|
|
165
102
|
|
|
166
|
-
2024-
|
|
167
|
-
|
|
168
|
-
at
|
|
169
|
-
at
|
|
170
|
-
at
|
|
171
|
-
at
|
|
172
|
-
at
|
|
173
|
-
at
|
|
174
|
-
at
|
|
175
|
-
at
|
|
176
|
-
at
|
|
103
|
+
2024-08-27T04:10:42.077Z
|
|
104
|
+
InvalidParameterError: Invalid account. The specified value must be a valid subdomain string.
|
|
105
|
+
at createError (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/errors.js:536:17)
|
|
106
|
+
at exports.checkArgumentValid (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/errors.js:270:11)
|
|
107
|
+
at consolidateHostAndAccount (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/connection/connection_config.js:82:12)
|
|
108
|
+
at new ConnectionConfig (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/connection/connection_config.js:192:5)
|
|
109
|
+
at createConnection (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/core.js:79:7)
|
|
110
|
+
at Object.createConnection (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/core.js:102:16)
|
|
111
|
+
at connectToSnowflake (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:69:48)
|
|
112
|
+
at fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:260:24)
|
|
113
|
+
at Object.fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/connector.js:17:61)
|
|
114
|
+
at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:51)
|
|
115
|
+
|
|
116
|
+
2024-08-27T04:12:47.369Z
|
|
117
|
+
InvalidParameterError: Invalid account. The specified value must be a valid subdomain string.
|
|
118
|
+
at createError (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/errors.js:536:17)
|
|
119
|
+
at exports.checkArgumentValid (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/errors.js:270:11)
|
|
120
|
+
at consolidateHostAndAccount (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/connection/connection_config.js:82:12)
|
|
121
|
+
at new ConnectionConfig (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/connection/connection_config.js:192:5)
|
|
122
|
+
at createConnection (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/core.js:79:7)
|
|
123
|
+
at Object.createConnection (/Users/huylm/code/dbx/dbml/node_modules/snowflake-sdk/lib/core.js:102:16)
|
|
124
|
+
at connectToSnowflake (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:69:48)
|
|
125
|
+
at fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:261:24)
|
|
126
|
+
at Object.fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/connector.js:17:61)
|
|
127
|
+
at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:51)
|
|
128
|
+
|
|
129
|
+
2024-08-27T04:13:16.756Z
|
|
130
|
+
Error: Test throw
|
|
131
|
+
at connectToSnowflake (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:68:11)
|
|
132
|
+
at fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/snowflakeConnector.js:261:24)
|
|
133
|
+
at Object.fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/connector.js:17:61)
|
|
134
|
+
at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:51)
|
|
135
|
+
at Object.db2dbml (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/index.js:58:26)
|
|
136
|
+
at Object.<anonymous> (/Users/huylm/code/dbx/dbml/packages/dbml-cli/bin/db2dbml.js:4:19)
|
|
137
|
+
at Module._compile (node:internal/modules/cjs/loader:1256:14)
|
|
138
|
+
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
|
|
139
|
+
at Module.load (node:internal/modules/cjs/loader:1119:32)
|
|
140
|
+
at Module._load (node:internal/modules/cjs/loader:960:12)
|
|
141
|
+
|
|
142
|
+
2024-09-17T09:27:49.220Z
|
|
143
|
+
ConnectionError: Failed to connect to localhost:1433 - Could not connect (sequence)
|
|
144
|
+
at /Users/huylm/code/dbx/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
145
|
+
at Connection.onConnect (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
146
|
+
at Object.onceWrapper (node:events:629:26)
|
|
147
|
+
at Connection.emit (node:events:514:28)
|
|
148
|
+
at Connection.emit (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
149
|
+
at Connection.socketError (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:1351:12)
|
|
150
|
+
at /Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:1144:14
|
|
151
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
|
|
152
|
+
|
|
153
|
+
2024-10-10T09:44:57.755Z
|
|
154
|
+
ConnectionError: Login failed for user 'sa'.
|
|
155
|
+
at /Users/huylm/code/dbx/dbml/node_modules/mssql/lib/tedious/connection-pool.js:85:17
|
|
156
|
+
at Connection.onConnect (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:849:9)
|
|
157
|
+
at Object.onceWrapper (node:events:629:26)
|
|
158
|
+
at Connection.emit (node:events:514:28)
|
|
159
|
+
at Connection.emit (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
160
|
+
at /Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:2363:18
|
|
161
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
162
|
+
|
|
163
|
+
2024-10-10T09:45:34.357Z
|
|
164
|
+
RequestError: Incorrect syntax near the keyword 'WHERE'.
|
|
165
|
+
at handleError (/Users/huylm/code/dbx/dbml/node_modules/mssql/lib/tedious/request.js:384:15)
|
|
166
|
+
at Connection.emit (node:events:514:28)
|
|
167
|
+
at Connection.emit (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
168
|
+
at RequestTokenHandler.onErrorMessage (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/token/handler.js:284:21)
|
|
169
|
+
at Readable.<anonymous> (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/token/token-stream-parser.js:19:33)
|
|
170
|
+
at Readable.emit (node:events:514:28)
|
|
171
|
+
at addChunk (node:internal/streams/readable:324:12)
|
|
172
|
+
at readableAddChunk (node:internal/streams/readable:297:9)
|
|
173
|
+
at Readable.push (node:internal/streams/readable:234:10)
|
|
174
|
+
at next (node:internal/streams/from:98:31)
|
|
177
175
|
|
|
178
|
-
2024-
|
|
179
|
-
|
|
180
|
-
at
|
|
181
|
-
at
|
|
182
|
-
at Connection.emit (
|
|
183
|
-
at /
|
|
184
|
-
at
|
|
185
|
-
at
|
|
186
|
-
at
|
|
187
|
-
at
|
|
188
|
-
at
|
|
189
|
-
at
|
|
176
|
+
2024-10-10T09:46:21.137Z
|
|
177
|
+
RequestError: Incorrect syntax near the keyword 'WHERE'.
|
|
178
|
+
at handleError (/Users/huylm/code/dbx/dbml/node_modules/mssql/lib/tedious/request.js:384:15)
|
|
179
|
+
at Connection.emit (node:events:514:28)
|
|
180
|
+
at Connection.emit (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
181
|
+
at RequestTokenHandler.onErrorMessage (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/token/handler.js:284:21)
|
|
182
|
+
at Readable.<anonymous> (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/token/token-stream-parser.js:19:33)
|
|
183
|
+
at Readable.emit (node:events:514:28)
|
|
184
|
+
at addChunk (node:internal/streams/readable:324:12)
|
|
185
|
+
at readableAddChunk (node:internal/streams/readable:297:9)
|
|
186
|
+
at Readable.push (node:internal/streams/readable:234:10)
|
|
187
|
+
at next (node:internal/streams/from:98:31)
|
|
190
188
|
|
|
191
|
-
2024-
|
|
192
|
-
|
|
193
|
-
at
|
|
194
|
-
at
|
|
195
|
-
at Connection.emit (
|
|
196
|
-
at /
|
|
197
|
-
at
|
|
198
|
-
at
|
|
199
|
-
at
|
|
200
|
-
at
|
|
201
|
-
at
|
|
202
|
-
at
|
|
189
|
+
2024-10-10T09:49:37.872Z
|
|
190
|
+
RequestError: Incorrect syntax near the keyword 'WHERE'.
|
|
191
|
+
at handleError (/Users/huylm/code/dbx/dbml/node_modules/mssql/lib/tedious/request.js:384:15)
|
|
192
|
+
at Connection.emit (node:events:514:28)
|
|
193
|
+
at Connection.emit (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/connection.js:970:18)
|
|
194
|
+
at RequestTokenHandler.onErrorMessage (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/token/handler.js:284:21)
|
|
195
|
+
at Readable.<anonymous> (/Users/huylm/code/dbx/dbml/node_modules/tedious/lib/token/token-stream-parser.js:19:33)
|
|
196
|
+
at Readable.emit (node:events:514:28)
|
|
197
|
+
at addChunk (node:internal/streams/readable:324:12)
|
|
198
|
+
at readableAddChunk (node:internal/streams/readable:297:9)
|
|
199
|
+
at Readable.push (node:internal/streams/readable:234:10)
|
|
200
|
+
at next (node:internal/streams/from:98:31)
|
|
203
201
|
|
|
204
|
-
2024-
|
|
205
|
-
Error:
|
|
206
|
-
at
|
|
207
|
-
at
|
|
208
|
-
at
|
|
209
|
-
at /
|
|
210
|
-
at Parser.parse (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/parser.js:36:17)
|
|
211
|
-
at Socket.<anonymous> (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/index.js:11:42)
|
|
212
|
-
at Socket.emit (node:events:513:28)
|
|
213
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
214
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
215
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
202
|
+
2024-11-04T15:29:40.436Z
|
|
203
|
+
Error: Error: Two endpoints have unequal number of fields
|
|
204
|
+
at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
|
|
205
|
+
at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
|
|
206
|
+
at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
|
|
207
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
216
208
|
|
|
217
|
-
2024-
|
|
218
|
-
Error:
|
|
219
|
-
at
|
|
220
|
-
at
|
|
221
|
-
at
|
|
222
|
-
at /
|
|
223
|
-
at Parser.parse (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/parser.js:36:17)
|
|
224
|
-
at Socket.<anonymous> (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/index.js:11:42)
|
|
225
|
-
at Socket.emit (node:events:513:28)
|
|
226
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
227
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
228
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
209
|
+
2024-11-04T15:48:24.903Z
|
|
210
|
+
Error: Error: Two endpoints have unequal number of fields
|
|
211
|
+
at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
|
|
212
|
+
at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
|
|
213
|
+
at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
|
|
214
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
229
215
|
|
|
230
|
-
2024-
|
|
231
|
-
|
|
232
|
-
at
|
|
233
|
-
at
|
|
234
|
-
at
|
|
235
|
-
at
|
|
236
|
-
at Socket.emit (node:events:513:28)
|
|
237
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
238
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
239
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
240
|
-
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
|
|
216
|
+
2024-11-04T15:57:38.948Z
|
|
217
|
+
Error: Error: Can't find field "fk_id_2" in table "table_same_fk_1"
|
|
218
|
+
at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
|
|
219
|
+
at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
|
|
220
|
+
at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
|
|
221
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
241
222
|
|
|
242
|
-
2024-
|
|
243
|
-
|
|
244
|
-
at
|
|
245
|
-
at
|
|
246
|
-
at
|
|
247
|
-
at
|
|
248
|
-
at
|
|
249
|
-
at
|
|
250
|
-
at Socket.emit (node:events:513:28)
|
|
251
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
252
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
253
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
223
|
+
2024-11-06T08:24:27.523Z
|
|
224
|
+
error: missing FROM-clause entry for table "t"
|
|
225
|
+
at /Users/huylm/code/dbx/dbml/node_modules/pg/lib/client.js:526:17
|
|
226
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
227
|
+
at async generateTablesAndFields (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:159:35)
|
|
228
|
+
at async Promise.all (index 0)
|
|
229
|
+
at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:421:17)
|
|
230
|
+
at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
|
|
254
231
|
|
|
255
|
-
2024-
|
|
256
|
-
Error:
|
|
257
|
-
at
|
|
258
|
-
at
|
|
259
|
-
at
|
|
260
|
-
at /
|
|
261
|
-
at Parser.parse (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/parser.js:36:17)
|
|
262
|
-
at Socket.<anonymous> (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/index.js:11:42)
|
|
263
|
-
at Socket.emit (node:events:513:28)
|
|
264
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
265
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
266
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
232
|
+
2024-11-06T08:24:57.974Z
|
|
233
|
+
Error: Error: Can't find field "fk_id_2" in table "table_same_fk_1"
|
|
234
|
+
at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
|
|
235
|
+
at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
|
|
236
|
+
at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
|
|
237
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
267
238
|
|
|
268
|
-
2024-
|
|
269
|
-
Error:
|
|
270
|
-
at
|
|
271
|
-
at
|
|
272
|
-
at
|
|
273
|
-
at /
|
|
274
|
-
at Parser.parse (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/parser.js:36:17)
|
|
275
|
-
at Socket.<anonymous> (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/index.js:11:42)
|
|
276
|
-
at Socket.emit (node:events:513:28)
|
|
277
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
278
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
279
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
239
|
+
2024-11-06T08:26:16.506Z
|
|
240
|
+
Error: Error: Can't find field "fk_id_2" in table "table_same_fk_1"
|
|
241
|
+
at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
|
|
242
|
+
at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
|
|
243
|
+
at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
|
|
244
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
280
245
|
|
|
281
|
-
2024-
|
|
282
|
-
Error:
|
|
283
|
-
at
|
|
284
|
-
at
|
|
285
|
-
at
|
|
286
|
-
at /
|
|
287
|
-
at Parser.parse (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/parser.js:36:17)
|
|
288
|
-
at Socket.<anonymous> (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/index.js:11:42)
|
|
289
|
-
at Socket.emit (node:events:513:28)
|
|
290
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
291
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
292
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
246
|
+
2024-11-06T08:31:18.922Z
|
|
247
|
+
Error: Error: Can't find field "fk_id_2" in table "table_same_fk_1"
|
|
248
|
+
at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
|
|
249
|
+
at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
|
|
250
|
+
at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
|
|
251
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
293
252
|
|
|
294
|
-
2024-
|
|
295
|
-
Error:
|
|
296
|
-
at
|
|
297
|
-
at
|
|
298
|
-
at
|
|
299
|
-
at /
|
|
300
|
-
at Parser.parse (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/parser.js:36:17)
|
|
301
|
-
at Socket.<anonymous> (/media/siv/winshare/Holistics/dbx/dbml/node_modules/pg-protocol/dist/index.js:11:42)
|
|
302
|
-
at Socket.emit (node:events:513:28)
|
|
303
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
304
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
305
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
253
|
+
2024-11-06T08:31:26.611Z
|
|
254
|
+
Error: Error: Can't find field "test"."fk_id_2" in table "table_same_fk_1"
|
|
255
|
+
at generateDatabase (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/parse/databaseGenerator.js:115:11)
|
|
256
|
+
at Object.generateDbml (/Users/huylm/code/dbx/dbml/packages/dbml-core/lib/import/index.js:17:58)
|
|
257
|
+
at connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:26:34)
|
|
258
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
306
259
|
|
|
307
|
-
|
|
308
|
-
error: database "
|
|
309
|
-
at
|
|
310
|
-
at
|
|
311
|
-
at
|
|
312
|
-
at
|
|
313
|
-
at Socket.emit (node:events:513:28)
|
|
314
|
-
at addChunk (node:internal/streams/readable:315:12)
|
|
315
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
316
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
317
|
-
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
|
|
260
|
+
2025-01-13T03:03:18.572Z
|
|
261
|
+
Error: PostgreSQL connection error: error: database "dbml_debug" does not exist
|
|
262
|
+
at getValidatedClient (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:21:19)
|
|
263
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
264
|
+
at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:415:20)
|
|
265
|
+
at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
|
|
318
266
|
|
|
319
|
-
|
|
320
|
-
error:
|
|
321
|
-
at
|
|
322
|
-
at
|
|
323
|
-
at
|
|
324
|
-
at
|
|
325
|
-
at
|
|
326
|
-
at
|
|
327
|
-
at readableAddChunk (node:internal/streams/readable:289:9)
|
|
328
|
-
at Socket.Readable.push (node:internal/streams/readable:228:10)
|
|
329
|
-
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
|
|
267
|
+
2025-01-13T03:04:40.738Z
|
|
268
|
+
error: missing FROM-clause entry for table "t"
|
|
269
|
+
at /Users/huylm/code/dbx/dbml/node_modules/pg/lib/client.js:526:17
|
|
270
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
271
|
+
at async generateTablesAndFields (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:159:35)
|
|
272
|
+
at async Promise.all (index 0)
|
|
273
|
+
at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:420:17)
|
|
274
|
+
at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
|
|
330
275
|
|