Clear empty optional fields.
This commit is contained in:
parent
53113101c9
commit
8a4dd9fb3b
4 changed files with 28 additions and 9 deletions
|
|
@ -1,12 +1,17 @@
|
|||
// Code generated by ent, DO NOT EDIT.
|
||||
package admin
|
||||
|
||||
import "time"
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/mikestefanello/pagoda/ent/passwordtoken"
|
||||
)
|
||||
|
||||
type PasswordToken struct {
|
||||
Hash *string `form:"hash"`
|
||||
UserID int `form:"user_id"`
|
||||
CreatedAt *time.Time `form:"created_at"`
|
||||
Hash *string `form:"hash"`
|
||||
UserID int `form:"user_id"`
|
||||
CreatedAt *time.Time `form:"created_at"`
|
||||
Abc *passwordtoken.Abc `form:"abc"`
|
||||
}
|
||||
|
||||
type User struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue