Register endpoint working

This commit is contained in:
2018-11-13 21:39:04 +01:00
parent 6a6c38f3ee
commit 00f4288c25
4 changed files with 206 additions and 90 deletions

View File

@ -11,7 +11,7 @@ import (
)
type UserCompanyMap struct {
ID int `orm:"column(id);pk"`
ID int `orm:"column(id)"` // removed pk here to fix postgres error
Email string `orm:"column(email)"`
PasswordHash string `orm:"column(password_hash)"`
Company string `orm:"column(company)"`