Common GORM field tags

Report a typo

Match each GORM field tag with its correct definition or use case.

Match the items from left and right columns
`gorm:"primaryKey"`
`gorm:"unique"`
`gorm:"not null"`
`gorm:"index"`
Ensures the column value is unique across all records
Sets a column as the primary key
Creates an index for the column in the database
Enforces that the column must contain a value
___

Create a free account to access the full topic