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
|
documents
|
||||||
_book
|
_book
|
||||||
|
.vscode/
|
@ -16,7 +16,7 @@ type (
|
|||||||
WidgetUser struct {
|
WidgetUser struct {
|
||||||
User
|
User
|
||||||
WidgetType string
|
WidgetType string
|
||||||
Widget Widget `gorm:"use_encoder;column:widget;type:jsonb"`
|
Widget Widget `gorm:"use_encoder;column:widget;type:text"`
|
||||||
}
|
}
|
||||||
|
|
||||||
SimpleWidget struct {
|
SimpleWidget struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user