mirror of
https://github.com/StarFleetCPTN/GoMFT.git
synced 2026-10-17 11:38:15 +02:00
Update destination_type column name in drive type migration
This commit is contained in:
1 parent
d19f13f137
commit
4b5929331f
1 file changed
+1
-1
@@ -75,7 +75,7 @@ func UpdateDriveType() *gormigrate.Migration {
|
||||
}
|
||||
|
||||
// Update dest_type
|
||||
return tx.Exec(`UPDATE transfer_configs SET dest_type = 'drive' WHERE dest_type = 'gdrive'`).Error
|
||||
return tx.Exec(`UPDATE transfer_configs SET destination_type = 'drive' WHERE destination_type = 'gdrive'`).Error
|
||||
},
|
||||
Rollback: func(tx *gorm.DB) error {
|
||||
// Revert source_type
|
||||
|
||||
Reference in new issue
Block a user