From 0d7b8c206c02a9844a57290a2786167802cb8a12 Mon Sep 17 00:00:00 2001 From: Ian Littman Date: Fri, 21 Mar 2025 15:02:14 -0500 Subject: [PATCH] Fix migration function name (#27415) --- .../mysql/migrations/tables/20250320200000_FMAv2.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/datastore/mysql/migrations/tables/20250320200000_FMAv2.go b/server/datastore/mysql/migrations/tables/20250320200000_FMAv2.go index 77815c442b..314b590355 100644 --- a/server/datastore/mysql/migrations/tables/20250320200000_FMAv2.go +++ b/server/datastore/mysql/migrations/tables/20250320200000_FMAv2.go @@ -8,10 +8,10 @@ import ( ) func init() { - MigrationClient.AddMigration(Up_20250317201526, Down_20250317201526) + MigrationClient.AddMigration(Up_20250320200000, Down_20250320200000) } -func Up_20250317201526(tx *sql.Tx) error { +func Up_20250320200000(tx *sql.Tx) error { // Clean up Fleet Library App associated scripts before we drop the columns on the table _, err := tx.Exec(`DELETE FROM script_contents @@ -112,6 +112,6 @@ ALTER TABLE fleet_maintained_apps return nil } -func Down_20250317201526(tx *sql.Tx) error { +func Down_20250320200000(tx *sql.Tx) error { return nil }