update tables primary key to use serial/integer
This commit is contained in:
parent
86fd4b73b6
commit
f251f52fa9
8 changed files with 14 additions and 14 deletions
|
|
@ -3,7 +3,7 @@ package model
|
|||
import "time"
|
||||
|
||||
type User struct {
|
||||
ID string `db:"id"`
|
||||
ID uint64 `db:"id"`
|
||||
Email string `db:"email"`
|
||||
// Allow null for passwordless users
|
||||
PasswordHash *string `db:"password_hash"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue