49 lines
1.2 KiB
Go
49 lines
1.2 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
|
|
package database
|
|
|
|
import (
|
|
"encoding/json"
|
|
"time"
|
|
)
|
|
|
|
type Confirmation struct {
|
|
EmailAddress string `json:"email_address"`
|
|
UserID int64 `json:"user_id"`
|
|
Selector string `json:"selector"`
|
|
Verifier []byte `json:"verifier"`
|
|
ExpiresAt time.Time `json:"expires_at"`
|
|
}
|
|
|
|
type Email struct {
|
|
Address string `json:"address"`
|
|
UserID int64 `json:"user_id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
}
|
|
|
|
type ExternalAuth struct {
|
|
ID int64 `json:"id"`
|
|
Name string `json:"name"`
|
|
Type string `json:"type"`
|
|
Config json.RawMessage `json:"config"`
|
|
}
|
|
|
|
type ExternalUser struct {
|
|
ExternalAuthID int64 `json:"external_auth_id"`
|
|
ForeignID string `json:"foreign_id"`
|
|
UserID int64 `json:"user_id"`
|
|
}
|
|
|
|
type Reset struct {
|
|
UserID int64 `json:"user_id"`
|
|
Selector string `json:"selector"`
|
|
Verifier []byte `json:"verifier"`
|
|
ExpiresAt time.Time `json:"expires_at"`
|
|
}
|
|
|
|
type User struct {
|
|
ID int64 `json:"id"`
|
|
IsAdmin bool `json:"is_admin"`
|
|
Password []byte `json:"password"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
}
|