mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
update user
db schema
This commit is contained in:
parent
eb6b3b0916
commit
fb171c43c0
@ -4,17 +4,18 @@ export default {
|
||||
schema: {
|
||||
username: { type: String, required: true },
|
||||
password: { type: String, required: true, select: false },
|
||||
cover: { type: String },
|
||||
description: { type: String, },
|
||||
fullName: String,
|
||||
avatar: { type: String },
|
||||
email: String,
|
||||
email: { type: String, required: true },
|
||||
description: { type: String, default: null },
|
||||
public_name: { type: String, default: null },
|
||||
fullName: { type: String, default: null },
|
||||
cover: { type: String, default: null },
|
||||
avatar: { type: String, default: null },
|
||||
roles: { type: Array, default: [] },
|
||||
verified: { type: Boolean, default: false },
|
||||
birthday: { type: Date },
|
||||
createdAt: { type: String },
|
||||
birthday: { type: Date, default: null },
|
||||
badges: { type: Array, default: [] },
|
||||
early_supporter: { type: Boolean, default: false },
|
||||
links: { type: Array, default: [] },
|
||||
createdAt: { type: String },
|
||||
created_at: { type: String },
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user