Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdivanov committed Aug 1, 2024
1 parent 3ab4723 commit 46ac7a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/entity/settings_entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ var SettingsValueTypeAll = settingsValueType{
type SettingsEntity struct {
beeorm.ORM `orm:"table=settings;redisCache"`
ID uint64
Key string `orm:"required;unique=Key;"`
Value string `orm:"required;length=max;"`
Key string `orm:"required;unique=SettingsKey"`
Value string `orm:"required;length=max"`
ValueType string `orm:"enum=entity.SettingsValueTypeAll"`
Editable bool
Deletable bool
Expand Down

0 comments on commit 46ac7a8

Please sign in to comment.