These are chat archives for jinzhu/gorm
The fantastic ORM library for Golang, aims to be developer friendly, check http://gorm.io/community.html#Ask before ask
Updateson a Model, how do you form a
map[string]interfacefor a field in the Model that is a
AddForeignKeysince the table is autogen'd?
db.Table("user_languages").AddForeignKey("language_id", "languages(id)", "RESTRICT", "RESTRICT")