Backend korrigiert, icons korrigiert, menü-aufklappen verbessert

This commit is contained in:
Torsten Schulz
2024-08-21 21:58:00 +02:00
parent 16a59daf39
commit dfdb1660ff
12 changed files with 29 additions and 16 deletions

View File

@@ -25,9 +25,8 @@ const initializeDatabase = async () => {
};
const syncModels = async (models) => {
// Nur einmaliges sync ohne alter/force
for (const model of Object.values(models)) {
await model.sync();
await model.sync({ alter: true });
}
};