switched to version 1.2
This commit is contained in:
parent
f157fa8e91
commit
269a461d03
16 changed files with 237 additions and 135 deletions
|
@ -1,19 +1,32 @@
|
|||
_datasource = antville
|
||||
_tablename = POLL
|
||||
_subnodes =< choice.POLL_ID
|
||||
_subnodes.order = ID asc
|
||||
_version = 1.2
|
||||
_db = antville
|
||||
_table = POLL
|
||||
|
||||
_children = collection (choice)
|
||||
_children.local = ID
|
||||
_children.foreign = POLL_ID
|
||||
_children.order = ID asc
|
||||
|
||||
_id = ID
|
||||
_parent = weblog.polls
|
||||
|
||||
weblog = WEBLOG_ID > weblog.ID
|
||||
creator = USER_ID > user.ID
|
||||
# object references
|
||||
weblog = object (weblog)
|
||||
weblog.local = WEBLOG_ID
|
||||
weblog.foreign = ID
|
||||
creator = object (user)
|
||||
creator.local = USER_ID
|
||||
creator.foreign = ID
|
||||
|
||||
# primitive properties
|
||||
title = TITLE
|
||||
question = QUESTION
|
||||
closed = CLOSED
|
||||
createtime = CREATETIME
|
||||
modifytime = MODIFYTIME
|
||||
|
||||
votes = [virtual] vote.USERNAME
|
||||
votes.subnodeRelation =< vote.POLL_ID
|
||||
votes.areSubnodes = true
|
||||
# collections
|
||||
votes = collection (vote)
|
||||
votes.accessname = USERNAME
|
||||
votes.local = ID
|
||||
votes.foreign = vote.POLL_ID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue