Comments (1)
Hi,
For the columns and table, you can define dbml like this (However, there's currently no equivalent dbml syntax for CHECK CONTRAINTS):
Table "MyTable" {
"id" INT [pk, increment]
"foreignKey1" INT
"foreignKey2" INT
}
from dbml.
Related Issues (20)
- @dbml/cli bug: postgres foreign keys generated in reverse HOT 2
- Maven support for dbml
- cli: unable to parse mssql script with collate HOT 1
- Generate DBML from JS object HOT 4
- Can't generate DBML with a database having many-to-many relation HOT 2
- Contribution: Java-based Parser
- Allow DBML Includes/Imports to split large files and allow reuse
- DBML File formatter HOT 1
- problem with ref & sql generation HOT 1
- UUID Marked as a Syntax Error in MySQL Adapter HOT 1
- Can't reference capitalized types in export to Postgresql HOT 1
- Postgresql importer does not take into account PK when set on ALTER TABLE statement HOT 1
- dbml conversion error on CLI HOT 5
- importing posgresql function make import fail HOT 2
- dbml conversion error on CLI HOT 1
- It seems that `DELIMITER` cannot be handled well HOT 1
- Add integration for Drizzle ORM
- mysql import fails to escape trailing singlequotes in column comments
- Issue with multi-valued index expressions - sql2dbml mysql HOT 1
- Ability to import/include other DBML
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbml.