disable migration cleanup

This commit is contained in:
Pascal Fischer
2025-07-04 13:14:47 +02:00
parent 5802dcaf80
commit 64e618f1ad

View File

@@ -526,10 +526,10 @@ func MigrateEmbeddedToTable[T any, S any, U any](ctx context.Context, db *gorm.D
}
}
cols, err := getColumnNamesFromStruct(new(S))
if err != nil {
return fmt.Errorf("failed to extract column names: %w", err)
}
// cols, err := getColumnNamesFromStruct(new(S))
// if err != nil {
// return fmt.Errorf("failed to extract column names: %w", err)
// }
// for _, col := range cols {
// if col == pkey {