mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-28 15:08:51 +00:00
feat: User metadata (#2025)
* feat: user meta data events * feat: user meta data set tests * feat: user meta data tests * feat: user meta data in protos * feat: user meta data command api * feat: user meta data query side * feat: proto correct order, fix handlers * feat: proto correct order * feat: fixes of pr comments * feat: fixes of pr comments * feat: value as byte array * feat: metadata feature * Update internal/auth/repository/eventsourcing/handler/meta_data.go Co-authored-by: Silvan <[email protected]> * Update internal/command/user_meta_data.go Co-authored-by: Silvan <[email protected]> * Update proto/zitadel/metadata.proto Co-authored-by: Silvan <[email protected]> * Update proto/zitadel/metadata.proto Co-authored-by: Silvan <[email protected]> * fix: rename metadata files and table * fix: rename meta data to metadat in protos * Update internal/domain/metadata.go Co-authored-by: Silvan <[email protected]> * fix: rename vars * fix: rebiuld docs * Update internal/iam/repository/view/metadata_view.go Co-authored-by: Silvan <[email protected]> Co-authored-by: Silvan <[email protected]>
This commit is contained in:
@@ -30,10 +30,10 @@ type CustomTextView struct {
|
||||
CreationDate time.Time `json:"-" gorm:"column:creation_date"`
|
||||
ChangeDate time.Time `json:"-" gorm:"column:change_date"`
|
||||
|
||||
Template string `json:"Template" gorm:"column:template;primary_key"`
|
||||
Language string `json:"Language" gorm:"column:language;primary_key"`
|
||||
Key string `json:"Key" gorm:"column:key;primary_key"`
|
||||
Text string `json:"Text" gorm:"column:text"`
|
||||
Template string `json:"template" gorm:"column:template;primary_key"`
|
||||
Language string `json:"language" gorm:"column:language;primary_key"`
|
||||
Key string `json:"key" gorm:"column:key;primary_key"`
|
||||
Text string `json:"text" gorm:"column:text"`
|
||||
|
||||
Sequence uint64 `json:"-" gorm:"column:sequence"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user