diff --git a/internal/db/migrations/016_update_drive_type.go b/internal/db/migrations/016_update_drive_type.go index 5ce423c..41efc50 100644 --- a/internal/db/migrations/016_update_drive_type.go +++ b/internal/db/migrations/016_update_drive_type.go @@ -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