95cab106d8
- PostgreSQL schema: sources, manga, chapters, pages, source_meta with indexes - golang-migrate runner with embedded SQL via go:embed (pgx5:// scheme) - sqlc-generated type-safe queries for all tables (pgx/v5 native) - Config package with all env vars including TTL durations - Wire DB init and config into cmd/server/main.go
6 lines
151 B
SQL
6 lines
151 B
SQL
DROP TABLE IF EXISTS source_meta;
|
|
DROP TABLE IF EXISTS pages;
|
|
DROP TABLE IF EXISTS chapters;
|
|
DROP TABLE IF EXISTS manga;
|
|
DROP TABLE IF EXISTS sources;
|