mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
update post
schema
This commit is contained in:
parent
44eb21a777
commit
cf16e3343e
@ -1,4 +1,7 @@
|
||||
export default {
|
||||
user_id: String,
|
||||
message: String,
|
||||
user_id: { type: String, required: true },
|
||||
created_at: { type: Number, required: true },
|
||||
message: { type: String, required: true },
|
||||
likes: { type: Array, default: [] },
|
||||
comments: { type: Array, default: [] },
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user