add migration for settings doc

This commit is contained in:
Alex Holliday committed 2025-05-13 12:58:01 -07:00
1 parent 5f0ad17b34
commit 73ddd54d20
3 files changed
+8 -1

No files matched your search

+4
View File
@@ -34,6 +34,10 @@ const AppSettingsSchema = mongoose.Schema(
unique: true,
default: true,
},
version: {
type: Number,
default: 1,
},
},
{
timestamps: true,