Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Invite ¶
type Invite struct { core.BaseModel Email string `gorm:"column:email;type:text;not null;uniqueIndex:IDX_invite_email,priority:1" json:"email"` Accepted bool `gorm:"column:accepted;type:boolean;not null" json:"accepted"` Token string `gorm:"column:token;type:text;not null;index:IDX_invite_token,priority:1" json:"token"` ExpiresAt time.Time `gorm:"column:expires_at;type:timestamp with time zone;not null" json:"expires_at"` DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:timestamp with time zone;index:IDX_invite_deleted_at,priority:1" json:"deleted_at"` }
type User ¶
type User struct { core.BaseModel FirstName string `gorm:"column:first_name;type:text" json:"first_name"` LastName string `gorm:"column:last_name;type:text" json:"last_name"` Email string `gorm:"column:email;type:text;not null;index:IDX_user_email,priority:1" json:"email"` AvatarURL string `gorm:"column:avatar_url;type:text" json:"avatar_url"` DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:timestamp with time zone;index:IDX_user_deleted_at,priority:1" json:"deleted_at"` }
Click to show internal directories.
Click to hide internal directories.