The struct tags are grouped like type, constraints, etc. The groups of struct tags is more Gorm currently can&#x27;t auto migrate keys with foreign keys. There is an issue I&#x27;ve commented but the issue is open for a long time.<p>There are also some missing features qb doesn&#x27;t have and gorm has. For instance, you can define relationships in gorm while in qb, you can only define foreign keys using `qb:&quot;constraints:ref(col, table)&quot;`.<p>Moreover, I am not entirely sure but I don&#x27;t think enforcing types is possible in gorm. In qb, consider this struct;<p>type User struct {
    id string `qb:&quot;type:uuid; constraints:primary_key&quot;`
}<p>qb understands this as a uuid type although it has string definitions. These are the main reasons why I created qb.<p>The relationship feature is not clear in my mind. I&#x27;d like to have feedback on relationships.