mirror of
https://github.com/StarFleetCPTN/GoMFT.git
synced 2026-10-24 06:50:26 +02:00
Fix column name in drive type migration from dest_type to destination_type
This commit is contained in:
1 parent
25609dfe6f
commit
d19f13f137
1 file changed
+1
-1
@@ -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