switched to version 1.2
This commit is contained in:
parent
f157fa8e91
commit
269a461d03
16 changed files with 237 additions and 135 deletions
|
@ -1,29 +1,49 @@
|
|||
_datasource=antville
|
||||
_tablename=TEXT
|
||||
_subnodes=<comment.STORY_ID
|
||||
_subnodes.order=CREATETIME ASC
|
||||
_subnodes.filter=PARENT_ID IS NULL
|
||||
_version = 1.2
|
||||
_db = antville
|
||||
_table = TEXT
|
||||
|
||||
_parent=weblog.topics,weblog
|
||||
_children = collection (comment)
|
||||
_children.local = ID
|
||||
_children.foreign = STORY_ID
|
||||
_children.order = CREATETIME ASC
|
||||
_children.filter = PARENT_ID IS NULL
|
||||
|
||||
_id=ID
|
||||
_prototype=PROTOTYPE
|
||||
weblog=WEBLOG_ID>weblog.ID
|
||||
day=DAY
|
||||
topic=TOPIC
|
||||
story=STORY_ID>story.ID
|
||||
parent=PARENT_ID>comment.ID
|
||||
title=TITLE
|
||||
text=TEXT
|
||||
online=ISONLINE
|
||||
editableby=EDITABLEBY
|
||||
author=AUTHOR>user.ID
|
||||
createtime=CREATETIME
|
||||
modifytime=MODIFYTIME
|
||||
modifier=MODIFIER>user.ID
|
||||
ipaddress=IPADDRESS
|
||||
reads=READS
|
||||
_parent = weblog.topics,weblog
|
||||
_id = ID
|
||||
_prototype = PROTOTYPE
|
||||
|
||||
allcomments=[virtual]<comment.STORY_ID
|
||||
allcomments.filter=ISONLINE > 0
|
||||
allcomments.order=MODIFYTIME DESC
|
||||
# object references
|
||||
weblog = object (weblog)
|
||||
weblog.local = WEBLOG_ID
|
||||
weblog.foreign = ID
|
||||
story = object (story)
|
||||
story.local = STORY_ID
|
||||
story.foreign = ID
|
||||
parent = object (comment)
|
||||
parent.local = PARENT_ID
|
||||
parent.foreign = ID
|
||||
author = object (user)
|
||||
author.local = AUTHOR
|
||||
author.foreign = ID
|
||||
modifier = object (user)
|
||||
modifier.local = MODIFIER
|
||||
modifier.foreign = ID
|
||||
|
||||
# primitive properties
|
||||
day = DAY
|
||||
topic = TOPIC
|
||||
title = TITLE
|
||||
text = TEXT
|
||||
online = ISONLINE
|
||||
editableby = EDITABLEBY
|
||||
createtime = CREATETIME
|
||||
modifytime = MODIFYTIME
|
||||
ipaddress = IPADDRESS
|
||||
reads = READS
|
||||
|
||||
# collections
|
||||
allcomments = collection (comment)
|
||||
allcomments.local = ID
|
||||
allcomments.foreign = STORY_ID
|
||||
allcomments.filter = ISONLINE > 0
|
||||
allcomments.order = MODIFYTIME DESC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue