Skip to content

Commit

Permalink
Update models/avatar.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Lauris BH <[email protected]>
  • Loading branch information
zeripath and lafriks committed Mar 8, 2020
1 parent 08cf870 commit 1e6efeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/avatar.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

// EmailHash represents a pre-generated hash map
type EmailHash struct {
Hash string `xorm:"pk hash UNIQUE NOT NULL"`
Hash string `xorm:"pk varchar(32)"`
Email string `xorm:"UNIQUE NOT NULL"`
}

Expand Down

0 comments on commit 1e6efeb

Please sign in to comment.