Skip to content

Single place to define schema for all tables in dbdiagram? #658

@parrotcar00

Description

@parrotcar00

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: #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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions