Actions
csInfo #4045 | FMT-0014
open
RA
csInfo #FMT-0002: Kroki examples
DbML
csInfo #4045 | FMT-0014:
DbML
Status:
New
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
The diagram above is shown by just simply put sample diagram code copied from kroki.io inside a macro.
The macro language is described in redmine-kroki plugin page.
This is the exact code:
{{kroki(dbml, max_width=600)
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']
}
Ref: posts.user_id > users.id // many-to-one
}}
Document references
No data to display
RA Updated by Redmine Admin 8 days ago
- Description updated (diff)
RA Updated by Redmine Admin 7 days ago
- Description updated (diff)
RA Updated by Redmine Admin 7 days ago
- Description updated (diff)
Actions