{
id string 60 pk
title string 255
}
{
id string 60 pk
title string 255
}
{
id int inc pk
title
description
}
{ document_id child_id }
{
id int inc pk
slug string 100 unq
name string 255
alias?
}
{
id uuid
document_type string 60 fk documenttype
title string 255 ft
slug string 255 index
subtitle string 255 ft
abstract text ft
status string 60
body text ft
lang string 10 index
created_at datetime
updated_at datetime
created_by string 100 fk user_id on update cascade
updated_by string 100 fk user_id on update cascade
}
{
user_id string 100 pk
}
{
id bigint inc pk
document_id
user_id string 100 fk user on udpate cascade
body
created_at datetime
updated_at datetime
status string 60 fk comment_status
}
{
status string 60 pk
}
{
comment_id bigint pk fk comments
child_id bigint pk fk comments
}
{
user_id
document_id
updted_at
vote -1 0 1 default 0
}
{
id string 60
title string 60
}
{
person_id
document_id
vote -1 0 1
}
{
type
mimetype
url
source
copyright
title
description
body
}
{
editors user[]
title
subtitle
abstract
searchtext
body
}
{
}
{
articles votearticle[]
votedate date
votes vote[]
yay
nay
bah
}
{
positions partyposition[]
votes vote[]
yay
nay
bah
}
{
articleid
pmid
vote
}
{
relatesto document
}
{
user
}
question thread