Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fix typo in launch entity rollback (#502)
Browse files Browse the repository at this point in the history
Signed-off-by: Katrina Rogan <katroganGH@gmail.com>

Signed-off-by: Katrina Rogan <katroganGH@gmail.com>
  • Loading branch information
katrogan committed Dec 12, 2022
1 parent 77157ff commit fce143d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/repositories/config/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ var Migrations = []*gormigrate.Migration{
return tx.AutoMigrate(&models.Execution{})
},
Rollback: func(tx *gorm.DB) error {
return tx.Model(&models.Execution{}).Migrator().DropColumn(&models.Execution{}, "launch_type")
return tx.Model(&models.Execution{}).Migrator().DropColumn(&models.Execution{}, "launch_entity")
},
},
}
Expand Down

0 comments on commit fce143d

Please sign in to comment.