// Indexes for the user table func (table *User) Indexes(indexes *hood.Indexes) { indexes.AddUnique("name_index", "name") indexes.AddUnique("dropbox_uid_index", "dropbox_uid") }
func (table *Users) Indexes(indexes *hood.Indexes) { indexes.AddUnique("name_index", "first", "last") }