mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 13:07:46 +00:00
correct db tag
This commit is contained in:
@@ -19,7 +19,7 @@ type Instance struct {
|
||||
CreatedAt time.Time `json:"createdAt" db:"created_at"`
|
||||
UpdatedAt time.Time `json:"updatedAt" db:"updated_at"`
|
||||
|
||||
Domains []*InstanceDomain `json:"domains,omitempty" db:"domains"`
|
||||
Domains []*InstanceDomain `json:"domains,omitempty" db:"-"` // domains need to be handled separately
|
||||
}
|
||||
|
||||
type instanceCacheIndex uint8
|
||||
|
@@ -22,7 +22,7 @@ type Organization struct {
|
||||
CreatedAt time.Time `json:"createdAt,omitzero" db:"created_at"`
|
||||
UpdatedAt time.Time `json:"updatedAt,omitzero" db:"updated_at"`
|
||||
|
||||
Domains []*OrganizationDomain `json:"domains,omitempty" db:"domains"`
|
||||
Domains []*OrganizationDomain `json:"domains,omitempty" db:"-"` // domains need to be handled separately
|
||||
}
|
||||
|
||||
// OrgIdentifierCondition is used to help specify a single Organization,
|
||||
|
Reference in New Issue
Block a user