Files
bbq/db/models.go
T
ryan 0719269bce Add SMS consent logging for Twilio compliance
Log phone, IP, and user agent to sms_consents table before sending
verification SMS. Add disclosure text to login form.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-29 09:46:43 -04:00

80 lines
1.2 KiB
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.31.1
package db
import (
"database/sql"
"time"
)
type Claim struct {
ID int64
SlotID int64
Name string
Note string
CreatedAt time.Time
}
type Event struct {
ID int64
Slug string
Title string
Date string
Time string
Location string
AdminToken string
Description string
UserID sql.NullInt64
CreatedAt time.Time
}
type Rsvp struct {
ID int64
EventID int64
Name string
Note string
PlusOne int64
CreatedAt time.Time
}
type Session struct {
Token string
UserID int64
ExpiresAt time.Time
}
type Slot struct {
ID int64
EventID int64
Name string
Emoji string
MaxClaims int64
SortOrder int64
}
type SmsConsent struct {
ID int64
Phone string
IpAddress string
UserAgent string
CreatedAt time.Time
}
type User struct {
ID int64
Phone sql.NullString
Email sql.NullString
Name string
CreatedAt time.Time
}
type VerificationCode struct {
ID int64
Identifier string
Code string
ExpiresAt time.Time
Used int64
}