mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 10:18:21 +01:00
13 lines
261 B
Lua
13 lines
261 B
Lua
|
BaseModel:subclass("CommentModel", {
|
||
|
registry = {},
|
||
|
name = "comments",
|
||
|
fields = {
|
||
|
pid = "INTEGER",
|
||
|
name = "TEXT",
|
||
|
email = "TEXT",
|
||
|
content = "TEXT",
|
||
|
time = "NUMERIC",
|
||
|
rid = "INTEGER DEFAULT 0"
|
||
|
}
|
||
|
})
|