generated from alecodes/base-template
feat: serialize database schema
This commit is contained in:
parent
fc0a9b4206
commit
de506a73df
5 changed files with 460 additions and 8 deletions
21
example/schema.toml
Normal file
21
example/schema.toml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[public]
|
||||
|
||||
[public.entries]
|
||||
|
||||
name = "entries"
|
||||
display_name = "entries"
|
||||
columns = [
|
||||
{ name = "id", col_type = "Integer", default = false, not_null = true, reference = { table = "", identity = "", label = "" } },
|
||||
]
|
||||
|
||||
[public.sources]
|
||||
|
||||
name = "sources"
|
||||
display_name = "Sources"
|
||||
|
||||
[[public.sources.columns]]
|
||||
name = "id"
|
||||
col_type = "Integer"
|
||||
default = false
|
||||
not_null = true
|
||||
reference = { table = "", identity = "", label = "" }
|
||||
Loading…
Add table
Add a link
Reference in a new issue