Преглед изворни кода

Add the tag model to the automigrate function

jnfrati пре 4 година
родитељ
комит
8fbbf875e3
1 измењених фајлова са 1 додато и 0 уклоњено
  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{},