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