mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-11 06:05:16 +08:00
user id is a string to allow uid to fit
This commit is contained in:
parent
f940d20316
commit
98c4c9dbb8
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ const { presetSchema } = require("./subschemas/preset");
|
|||
|
||||
const userSchema = new Schema(
|
||||
{
|
||||
_id: { type: String },
|
||||
results: [{ type: resultSchema, default: {} }],
|
||||
personalBests: {
|
||||
custom: { type: Schema.Types.Mixed, default: {} },
|
||||
|
|
Loading…
Reference in a new issue