Match each GORM field tag with its correct definition or use case.
Declaring GORM Models
Common GORM field tags
Report a typo
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
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.