digraph {
node [shape=box,margin=0,height=0]
edge [arrowhead=open,style=dashed]
rankdir="RL";
users [label=<
users |
🔑 id |
★ name '' |
★ email '' |
password '' |
salt '' |
deleted ✓ |
>]
applications [label=<
applications |
🔑 id |
name '' |
>]
permissions [label=<
permissions |
🔑 id |
user_id # |
create_app ✓ |
manage_users ✓ |
manage_permissions ✓ |
manage_apps ✓ |
manage_keys ✓ |
issue_key ✓ |
>]
user_access [label=<
user_access |
🔑 id |
user_id # |
app_id # |
crud '' |
>]
auth_keys [label=<
auth_keys |
🔑 id |
★ key '' |
app_id # |
read_data ✓ |
★ hash '' |
name '' |
>]
categories [label=<
categories |
🔑 id |
★ name '' |
app_id # |
>, shape=box, margin=0]
log [label=<
log |
🔑 id |
key_id # |
app_id # |
timestamp # |
category_id # |
>]
data [label=<
data |
🔑 id |
log_id # |
key '' |
value '' |
>]
data:log_id -> log:id [color=blue]
permissions:user_id -> users:id [color=blue]
log:key_id -> auth_keys:id [color=blue]
auth_keys:app_id -> applications:id [color=blue]
user_access:user_id -> users:id [color=red]
user_access:app_id -> applications:id [color=red]
log:app_id -> applications:id [color=blue]
log:category_id -> categories:id [color=blue]
categories:app_id -> applications:id [color=blue]
}
data_key [label=key]