Explorar o código

keep the namespace annotations field in the DB

Mohammed Nafees %!s(int64=3) %!d(string=hai) anos
pai
achega
526d258b73
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      internal/models/environment.go

+ 3 - 2
internal/models/environment.go

@@ -22,8 +22,9 @@ type Environment struct {
 	Name string
 	Mode string
 
-	NewCommentsDisabled bool
-	NamespaceLabels     []byte
+	NewCommentsDisabled  bool
+	NamespaceLabels      []byte
+	NamespaceAnnotations []byte
 
 	// WebhookID uniquely identifies the environment when other fields (project, cluster)
 	// aren't present