holistics / holistics/dbml

Single place to define schema for all tables in dbdiagram?

Open
#658 0 comments 1 reaction 1 assignee Claimed by @huydo862003 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.