diff --git a/server/datastore/mysql/migrations/tables/20240208095115_AddVulnHostCountsTable.go b/server/datastore/mysql/migrations/tables/20240209135115_AddVulnHostCountsTable.go similarity index 80% rename from server/datastore/mysql/migrations/tables/20240208095115_AddVulnHostCountsTable.go rename to server/datastore/mysql/migrations/tables/20240209135115_AddVulnHostCountsTable.go index 0797f9672d..b59f74f3b9 100644 --- a/server/datastore/mysql/migrations/tables/20240208095115_AddVulnHostCountsTable.go +++ b/server/datastore/mysql/migrations/tables/20240209135115_AddVulnHostCountsTable.go @@ -5,10 +5,10 @@ import ( ) func init() { - MigrationClient.AddMigration(Up_20240208095115, Down_20240208095115) + MigrationClient.AddMigration(Up_20240209135115, Down_20240209135115) } -func Up_20240208095115(tx *sql.Tx) error { +func Up_20240209135115(tx *sql.Tx) error { createStmt := ` CREATE TABLE IF NOT EXISTS vulnerability_host_counts ( cve VARCHAR(20) NOT NULL, @@ -27,6 +27,6 @@ func Up_20240208095115(tx *sql.Tx) error { return nil } -func Down_20240208095115(tx *sql.Tx) error { +func Down_20240209135115(tx *sql.Tx) error { return nil } diff --git a/server/datastore/mysql/migrations/tables/20240208095115_AddVulnHostCountsTable_test.go b/server/datastore/mysql/migrations/tables/20240209135115_AddVulnHostCountsTable_test.go similarity index 93% rename from server/datastore/mysql/migrations/tables/20240208095115_AddVulnHostCountsTable_test.go rename to server/datastore/mysql/migrations/tables/20240209135115_AddVulnHostCountsTable_test.go index 5af7a11865..83fc6ebccd 100644 --- a/server/datastore/mysql/migrations/tables/20240208095115_AddVulnHostCountsTable_test.go +++ b/server/datastore/mysql/migrations/tables/20240209135115_AddVulnHostCountsTable_test.go @@ -2,7 +2,7 @@ package tables import "testing" -func TestUp_20240208095115(t *testing.T) { +func TestUp_20240209135115(t *testing.T) { db := applyUpToPrev(t) applyNext(t, db)