dbml
dbml copied to clipboard
[Feature request] "Extend" a table base attributes
I was thinking in something like this: create a base table that we can use inside other tables in the project, for example:
Table Base {
createdBy uuid
createdAt datetime
updatedBy uuid
updatedAt datetime
deletedBy uuid
deletedAt datetime
}
Table User extends Base {
id uuid [pk, default: `uuid_generate_v4()`]
name varchar
email varchar
}
With this feature, it will be possible to reduce the code quantity, improving the readability of it.