From 42c062c6117ca9744b9610d6167021e9ab2421aa Mon Sep 17 00:00:00 2001 From: ra939 Date: Wed, 8 Oct 2025 06:59:38 +0000 Subject: [PATCH] Revert "add database changes for recommandation sent and inbox" This reverts commit ae4bd94b3879fb6ddcb7d0b977c4611ca904c928. --- server/Database.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/Database.js b/server/Database.js index 576a6c736..00bdc97e5 100644 --- a/server/Database.js +++ b/server/Database.js @@ -162,6 +162,7 @@ class Database { return this.models.device } +<<<<<<< HEAD get recommendationTagModel() { return this.models.recommendationTag } @@ -169,6 +170,8 @@ class Database { return this.models.bookRecommendation } +======= +>>>>>>> parent of ae4bd94b (add database changes for recommandation sent and inbox) /** * Check if db file exists * @returns {boolean} @@ -352,6 +355,7 @@ class Database { require('./models/Setting').init(this.sequelize) require('./models/CustomMetadataProvider').init(this.sequelize) require('./models/MediaItemShare').init(this.sequelize) +<<<<<<< HEAD require('./models/RecommendationTag').init(this.sequelize) require('./models/BookRecommendation').init(this.sequelize) // One association pass BEFORE sync @@ -359,6 +363,8 @@ class Database { Object.values(models).forEach((m) => { if (typeof m?.associate === 'function') m.associate(models) }) +======= +>>>>>>> parent of ae4bd94b (add database changes for recommandation sent and inbox) return this.sequelize.sync({ force, alter: false }) }