mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-24 22:39:09 +02:00
disable migration cleanup
This commit is contained in:
@@ -526,10 +526,10 @@ func MigrateEmbeddedToTable[T any, S any, U any](ctx context.Context, db *gorm.D
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cols, err := getColumnNamesFromStruct(new(S))
|
// cols, err := getColumnNamesFromStruct(new(S))
|
||||||
if err != nil {
|
// if err != nil {
|
||||||
return fmt.Errorf("failed to extract column names: %w", err)
|
// return fmt.Errorf("failed to extract column names: %w", err)
|
||||||
}
|
// }
|
||||||
|
|
||||||
// for _, col := range cols {
|
// for _, col := range cols {
|
||||||
// if col == pkey {
|
// if col == pkey {
|
||||||
|
|||||||
Reference in New Issue
Block a user