Ivan Galakhov 4 лет назад
Родитель
Сommit
ac717b1ace
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      internal/repository/gorm/migrate.go

+ 1 - 1
internal/repository/gorm/migrate.go

@@ -27,8 +27,8 @@ func AutoMigrate(db *gorm.DB) error {
 		&models.DNSRecord{},
 		&models.PWResetToken{},
 		&models.NotificationConfig{},
-		&models.SubEvent{},
 		&models.EventContainer{},
+		&models.SubEvent{},
 		&ints.KubeIntegration{},
 		&ints.BasicIntegration{},
 		&ints.OIDCIntegration{},