changing encoder field type to common sql TEXT
This commit is contained in:
parent
2cc2a1555d
commit
ca1c53917d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
documents
|
||||
_book
|
||||
.vscode/
|
@ -16,7 +16,7 @@ type (
|
||||
WidgetUser struct {
|
||||
User
|
||||
WidgetType string
|
||||
Widget Widget `gorm:"use_encoder;column:widget;type:jsonb"`
|
||||
Widget Widget `gorm:"use_encoder;column:widget;type:text"`
|
||||
}
|
||||
|
||||
SimpleWidget struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user