diff --git a/management-service/database/database.go b/management-service/database/database.go index 8cc86260..d8bd4a10 100644 --- a/management-service/database/database.go +++ b/management-service/database/database.go @@ -29,9 +29,7 @@ func ConnectionString(cfg *config.DatabaseConfig) string { func Open(cfg *config.DatabaseConfig) (*gorm.DB, error) { db, err := gorm.Open(pg.Open(ConnectionString(cfg)), &gorm.Config{ - // This is needed to ensure that any saves to nested fields also update their respective tables - FullSaveAssociations: true, - Logger: logger.Default.LogMode(logger.Silent), + Logger: logger.Default.LogMode(logger.Silent), }) if err != nil { return nil, err