Single place to define schema for all tables in dbdiagram?
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 3.7k
- Forks
- 233
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 4
Description
Is there a way to define a schema only once for the entire dbml document?
Something like:
```
Schema ecommerce {
Table users {
id int [pk]
name varchar
}
Note: 'ecommerce schema'
}
```
instead of
```
Table ecommerce.users {
id int [pk]
name varchar
}
```
I see that this was considered in this proposal: https://github.com/holistics/dbml/issues/50 but not sure if this was ever implemented.
Being able to define schema once leads to fewer error and a more concise way to change schema name for the dbml document.
Contributor guide
Assessment
This issue has not been assessed yet.