Ver Fonte

Add the tag model to the automigrate function

jnfrati há 4 anos atrás
pai
commit
8fbbf875e3
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      internal/repository/gorm/migrate.go

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

@@ -48,6 +48,7 @@ func AutoMigrate(db *gorm.DB, debug bool) error {
 		&models.CredentialsExchangeToken{},
 		&models.CredentialsExchangeToken{},
 		&models.BuildConfig{},
 		&models.BuildConfig{},
 		&models.Allowlist{},
 		&models.Allowlist{},
+		&models.Tag{},
 		&ints.KubeIntegration{},
 		&ints.KubeIntegration{},
 		&ints.BasicIntegration{},
 		&ints.BasicIntegration{},
 		&ints.OIDCIntegration{},
 		&ints.OIDCIntegration{},