6e3fc9721a
Merge RSVP + slot claim into a single form. Add plus_one field to RSVPs. Add clickable RSVP names that open a modal to edit name/note/plus_one. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
72 lines
1.0 KiB
Go
72 lines
1.0 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 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
|
|
}
|