diff --git a/internal/store/postgres/model/resource.go b/internal/store/postgres/model/resource.go index ea951597d..0bd71091f 100644 --- a/internal/store/postgres/model/resource.go +++ b/internal/store/postgres/model/resource.go @@ -47,7 +47,7 @@ func (r *Resource) BeforeCreate(tx *gorm.DB) error { {Name: "type"}, {Name: "urn"}, }, - DoUpdates: clause.AssignmentColumns([]string{"name", "details", "updated_at", "is_deleted", "parent_id"}), + DoUpdates: clause.AssignmentColumns([]string{"name", "details", "updated_at", "is_deleted", "parent_id", "global_urn"}), }) return nil