Update destination_type column name in drive type migration

This commit is contained in:
StarFleetCPTN
2025-04-19 14:49:33 -07:00
parent d19f13f137
commit 4b5929331f
@@ -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