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