mirror of
https://github.com/StarFleetCPTN/GoMFT.git
synced 2026-09-08 15:41:20 +02:00
Fix column name in drive type migration from dest_type to destination_type
This commit is contained in:
@@ -84,7 +84,7 @@ func UpdateDriveType() *gormigrate.Migration {
|
||||
}
|
||||
|
||||
// Revert dest_type
|
||||
return tx.Exec(`UPDATE transfer_configs SET dest_type = 'gdrive' WHERE dest_type = 'drive'`).Error
|
||||
return tx.Exec(`UPDATE transfer_configs SET destination_type = 'gdrive' WHERE destination_type = 'drive'`).Error
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user