I use go-pg, and I can not figure out how to solve the problem when the number of fields in the model does not match the number of fields in the database
type UnitModel struct { Id int Name string TableName struct{} `sql:"unit"` } var unit UnitModel err := db.Model(&unit).Where("id = ?", id).Select() pg: can't find column alter_name in model