fix(challenge tags); change type to Mixed in preparation for migration

This commit is contained in:
Matteo Pagliazzi
2020-09-10 11:14:09 +02:00
parent 9f988acb55
commit 05f22ababc
+1 -1
View File
@@ -13,7 +13,7 @@ export const schema = new Schema({
required: true,
},
name: { $type: String, required: true },
challenge: { $type: String },
challenge: { $type: Schema.Types.Mixed },
group: { $type: String },
}, {
strict: true,