dbml
dbml copied to clipboard
Database Markup Language (DBML), designed to define and document database structures
## Summary * Add schema name for the junction table: ``` Ref schema.table1.column1 schema.table2.column2 → will create a junction table: "schema"."table1_table2" Ref schema1.table1.column1 schema2.table2.column2 → will create a junction table...
A field with type DECIMAL is converted to a string "decimal".
The sql2dbml is not able to understand the casting and fails with error "ERROR: You have a syntax error at "schema.sql" line 3 column. Expected ")", ",", "CHECK", "CONSTRAINT", "DEFAULT",...
```sql `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), ``` `Error Log` ```cli ROOT_ERROR: SyntaxError: Expected ")" or fields but "`" found. at peg$buildStructuredError (C:\Users\YasasT\AppData\Roaming\npm\node_modules\@dbml\cli\node_modules\@dbml\core\lib\parse\mysqlParser.js:1119:12) at Object.peg$parse [as parse]...
DBML says column types must be one word. But Postgres has multiple word data types like `double precision` For example this gives an error: ```sql Table User { Field double...
Can dbml be used with deno? So it can be installed via `deno install URL`.
Hey, Been running into a bunch of syntax issues like ``` ERROR: You have a syntax error at "schema copy.sql" line 41 column 12. Expected "COLUMN" or "TABLE" but "S"...
Hello, Are you thinking building a binding for ClickHouse, which can manage all CH Table configurations ? (Engines, Partitions, MV, ...)
Bumps [terser](https://github.com/terser/terser) from 4.3.9 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...
## Summary * Added SMALLSERIAL type when using increments in settings to export postgress sql ## Issue [(issue link here)](https://community.dbdiagram.io/t/wrong-postgres-smallserial-export/1450) ## Lasting Changes (Technical) * Updated `function getFieldLines` to add...