Skip to content

Commit

Permalink
Use text field for KV storage as it might be used for larger chunks o…
Browse files Browse the repository at this point in the history
…f data at some point
  • Loading branch information
cld9x committed May 29, 2019
1 parent b8cd935 commit 5df92fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/xbvr/model_kv.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

type KV struct {
Key string `json:"key" gorm:"primary_key" gorm:"unique_index"`
Value string `json:"value"`
Value string `json:"value" sql:"type:text;"`
}

func (o *KV) Save() {
Expand Down

0 comments on commit 5df92fd

Please sign in to comment.