feat:#65 adjusted missing changes backend migration

This commit is contained in:
Elmar Kresse
2025-04-20 15:46:43 +02:00
parent 07f9589ea4
commit 42f5856870
24 changed files with 1348 additions and 3673 deletions

View File

@@ -106,7 +106,7 @@ func updateDatabase(base *pocketbase.PocketBase, eventsToBeAdded []model.Event,
var err error
// to in transaction the events will be added and deleted
err = base.App.RunInTransaction(func(app core.App) error {
err = base.RunInTransaction(func(app core.App) error {
err = db.DeleteAllEventsRatherThenCourse(app, course, semester)
if err != nil {
return err