@startuml
!theme plain
hide empty methods

!procedure $table($name, $slug)
entity "<b>$name</b>" as $slug << (T, Orange) table >>
!endprocedure

!procedure $type($name, $slug)
entity "<b>$name</b>" as $slug << (E, Cyan) type (enum) >>
!endprocedure

!procedure $pk($name)
<color:#GoldenRod><&key></color> <b><i>$name</i></b>: 
!endprocedure

!procedure $enum_link($name)
<color:#Orange><&tag></color> <i>$name</i>: 
!endprocedure

!procedure $fk($name)
<color:#Silver><&key></color> <i>$name</i>:
!endprocedure

!procedure $column($name)
{field} <color:#grey><&chevron-right></color> <i>$name</i>:
!endprocedure

!procedure $enum_field($name)
{field} <color:#grey><&chevron-right></color> $name
!endprocedure
@enduml