Skip to content

Commit

Permalink
fix: migration order
Browse files Browse the repository at this point in the history
  • Loading branch information
jahzielv committed Oct 25, 2024
1 parent 0bf3317 commit 3bc1d50
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
)

func init() {
MigrationClient.AddMigration(Up_20241009141855, Down_20241009141855)
MigrationClient.AddMigration(Up_20241025141855, Down_20241025141855)
}

func Up_20241009141855(tx *sql.Tx) error {
func Up_20241025141855(tx *sql.Tx) error {
_, err := tx.Exec(`
CREATE TABLE host_mdm_apple_awaiting_configuration (
host_uuid VARCHAR(255) NOT NULL PRIMARY KEY,
Expand All @@ -22,6 +22,6 @@ CREATE TABLE host_mdm_apple_awaiting_configuration (
return nil
}

func Down_20241009141855(tx *sql.Tx) error {
func Down_20241025141855(tx *sql.Tx) error {
return nil
}

0 comments on commit 3bc1d50

Please sign in to comment.