go sqlgen: refactor UnbuildStruct
go sqlgen: refactor UnbuildStruct

Make it defined on Schema instead of as a package-level function.

samsarahq/thunder,samsarahq/thunder,samsarahq/thunder,samsarahq/thunder,samsarahq/thunder