Skip to content

Commit 12d8ecc

Browse files
committed
Fix TestMigrateConstraint test
1 parent da1a1f2 commit 12d8ecc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/migrate_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,9 +582,8 @@ func TestMigrateColumns(t *testing.T) {
582582
}
583583

584584
func TestMigrateConstraint(t *testing.T) {
585-
t.Skip()
586585

587-
names := []string{"Account", "fk_users_account", "Pets", "fk_users_pets", "Company", "fk_users_company", "Team", "fk_users_team", "Languages", "fk_users_languages"}
586+
names := []string{"Account", "fk_users_account", "Pets", "fk_users_pets", "Company", "fk_users_company", "Team", "fk_users_team"}
588587

589588
for _, name := range names {
590589
if !DB.Migrator().HasConstraint(&User{}, name) {

0 commit comments

Comments
 (0)