Allow for proper table creation with Jsonb fields (#1758)
Allow for proper table creation with Jsonb fields (#1758)

* DataTypeOf should now correctly identify dataValues that are 'json.RawMessage' types as 'jsonb' columns

* move the json check to its own function

* ran gofmt and did some minor tweaks to satisfy CodeClimate

ModelRocket/gorm,ModelRocket/gorm,jinzhu/gorm,jinzhu/gorm