2aa3abf0354d76b4364de5e3c685c79cf9df57a9
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>
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
Description
Languages
Go
60%
HTML
39.4%
Dockerfile
0.4%
Makefile
0.2%