udpate migration timestamp for add fleet platform to host mdm action migration

This commit is contained in:
Gabriel Hernandez 2024-03-01 17:34:05 +00:00
parent 4fa50778ac
commit 306133ae3b
2 changed files with 4 additions and 4 deletions

View file

@ -6,10 +6,10 @@ import (
)
func init() {
MigrationClient.AddMigration(Up_20240226133702, Down_20240226133702)
MigrationClient.AddMigration(Up_20240301173035, Down_20240301173035)
}
func Up_20240226133702(tx *sql.Tx) error {
func Up_20240301173035(tx *sql.Tx) error {
_, err := tx.Exec(`
ALTER TABLE host_mdm_actions
ADD COLUMN fleet_platform VARCHAR(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ''
@ -20,6 +20,6 @@ ALTER TABLE host_mdm_actions
return nil
}
func Down_20240226133702(tx *sql.Tx) error {
func Down_20240301173035(tx *sql.Tx) error {
return nil
}

View file

@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/require"
)
func TestUp_20240226133702(t *testing.T) {
func TestUp_20240301173035(t *testing.T) {
db := applyUpToPrev(t)
// create an existing host_mdm_actions row