mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-17 15:56:39 +00: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))
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user