IsOwnerbool`gorm:"default:false"`// Indicates if the user is the owner
}
// Compound unique index to ensure only one owner per bot
func(User)TableName()string{
return"users"
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.