Files
nfeeder/internal/db/models.go
T

25 lines
605 B
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.30.0
package db
import (
"github.com/jackc/pgx/v5/pgtype"
)
type RefreshToken struct {
ID int64 `json:"id"`
UserID int64 `json:"user_id"`
TokenHash string `json:"token_hash"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
ExpiresAt pgtype.Timestamptz `json:"expires_at"`
}
type User struct {
ID int64 `json:"id"`
Email string `json:"email"`
Password string `json:"password"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}