|
@@ -255,6 +255,11 @@ class _DBModule extends CoreClass {
|
|
|
.path("songs")
|
|
|
.validate(songs => songs.length <= 10000, "Max 10000 songs per playlist.");
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
this.schemas.playlist.index({ createdFor: 1, type: 1 }, { unique: true });
|
|
|
|
|
|
if (config.get("skipDbDocumentsVersionCheck")) resolve();
|