1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-12-26 17:38:21 +01:00
antd-web-apps/talk/models/CommentModel.lua

13 lines
261 B
Lua
Raw Permalink Normal View History

2020-09-22 16:18:12 +02:00
BaseModel:subclass("CommentModel", {
registry = {},
name = "comments",
fields = {
pid = "INTEGER",
name = "TEXT",
email = "TEXT",
content = "TEXT",
time = "NUMERIC",
rid = "INTEGER DEFAULT 0"
}
})