dbml is a text markup language created in 2019.
#3700on PLDB | 5Years Old |
Table users {
id integer
username varchar
role varchar
created_at timestamp
}
Table posts {
id integer [primary key]
title varchar
body text [note: 'Content of the post']
user_id integer
status post_status
created_at timestamp
}
Enum post_status {
draft
published
private [note: 'visible via URL only']
}
title | date | score | comments |
---|---|---|---|
Show HN: DBML – simple DSL language to document database schemas | 09/02/2019 | 57 | 16 |