ryan 2aa3abf035 Rebuild legacy users table to add email and drop phone NOT NULL
The migration ALTER TABLE users ADD COLUMN email TEXT UNIQUE always
failed ("Cannot add a UNIQUE column" — SQLite doesn't support it), so
phone-era DBs never got an email column and verify 500'd with "no such
column: email". Even with the column added, phone NOT NULL would reject
email-only users. SQLite can't ALTER either change, so detect the legacy
shape (missing email column) and rebuild the table, preserving user ids
and sessions (FKs off so DROP TABLE doesn't cascade).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 19:13:37 -04:00
2026-05-14 22:55:54 -04:00
2026-05-14 22:55:54 -04:00

bbq

Potluck signup app. No accounts — share a link, people claim slots.

Run locally

go build -o bbq . && ./bbq

Listens on :8080. Set PORT and BBQ_DB env vars to override.

Docker

docker compose up -d --build

Runs on 127.0.0.1:8090. Data persists in a bbq-data volume.

Reverse proxy (Caddy)

bbq.example.com {
    reverse_proxy localhost:8090
}

Regenerate DB layer

$(go env GOPATH)/bin/sqlc generate
S
Description
No description provided
Readme 309 KiB
Languages
Go 60%
HTML 39.4%
Dockerfile 0.4%
Makefile 0.2%