From d19f13f13737a91a14c2089b2f34afcbce52bd70 Mon Sep 17 00:00:00 2001 From: StarFleetCPTN Date: Sat, 19 Apr 2025 14:39:10 -0700 Subject: [PATCH] Fix column name in drive type migration from dest_type to destination_type --- internal/db/migrations/016_update_drive_type.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }, } }