Fixed create/alter order

This commit is contained in:
Torsten Schulz
2024-09-12 18:06:36 +02:00
parent 8f683ea489
commit eac97b6ca5

View File

@@ -72,9 +72,9 @@ app.get('*', (req, res) => {
await DiaryMemberNote.sync({ alter: true });
await PredefinedActivity.sync({ alter: true });
await DiaryDateActivity.sync({ alter: true });
await Season.sync({ alter: true });
await League.sync({ alter: true });
await Team.sync({ alter: true });
await Season.sync({ alter: true });
await Location.sync({ alter: true });
await Match.sync({ alter: true }); // Match zuletzt, um sicherzustellen, dass alle Referenzen existieren