changing encoder field type to common sql TEXT

This commit is contained in:
Rob Rodriguez 2018-12-10 17:52:45 -08:00
parent 2cc2a1555d
commit ca1c53917d
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
documents documents
_book _book
.vscode/

View File

@ -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 {