Sfoglia il codice sorgente

Add the tag model to the automigrate function

jnfrati 4 anni fa
parent
commit
8fbbf875e3
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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.BuildConfig{},
 		&models.Allowlist{},
+		&models.Tag{},
 		&ints.KubeIntegration{},
 		&ints.BasicIntegration{},
 		&ints.OIDCIntegration{},