package db import _ "embed" // Schema is the DDL for a fresh index: base tables, the FTS5 full-text indexes // and their sync triggers. It lives in schema.sql so the same text can be fed // to sqlc for compile-time checked queries. // //go:embed schema.sql var Schema string // Regenerate the checked queries with `go generate ./internal/db`. sqlc reads // schema.sql, so any column the runtime migrations add must also appear there. // //go:generate sqlc generate -f ../../sqlc.yaml