7b0efb3c45
Hosts can now add a free-form description (with markdown rendering via goldmark) when creating or editing events. Descriptions render safely with no raw HTML passthrough. Includes ALTER TABLE migration for existing databases. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
47 lines
661 B
Go
47 lines
661 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.31.1
|
|
|
|
package db
|
|
|
|
import (
|
|
"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
|
|
CreatedAt time.Time
|
|
}
|
|
|
|
type Rsvp struct {
|
|
ID int64
|
|
EventID int64
|
|
Name string
|
|
Note string
|
|
CreatedAt time.Time
|
|
}
|
|
|
|
type Slot struct {
|
|
ID int64
|
|
EventID int64
|
|
Name string
|
|
Emoji string
|
|
MaxClaims int64
|
|
SortOrder int64
|
|
}
|