user id is a string to allow uid to fit

This commit is contained in:
Miodec 2021-06-06 12:52:28 +01:00
parent f940d20316
commit 98c4c9dbb8

View file

@ -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: {} },