0001 Scrape Store
Path:
codemode-gateway/migrations/0001_scrape_store.sqlRelative: migrations/0001_scrape_store.sqlSubproject: codemode-gatewayCategory: codemode-gatewayLines: 22Bytes: 905Imports: 0Exports: 0
Content Preview
- -- 0001_scrape_store.sql — B6 D1 persistence layer for codemode-gateway.
- -- Creates the single `scrape_pages` table backing the `scrape` namespace
- -- (scrape.save / recent / get / find) and the generic `db` namespace.
- -- Applied via:
- -- bunx wrangler d1 execute codemode-gateway-store --remote \
- -- --file=migrations/0001_scrape_store.sql
- -- Idempotent: uses IF NOT EXISTS so re-running the deploy script is safe.
- CREATE TABLE IF NOT EXISTS scrape_pages (
- id TEXT PRIMARY KEY,
- url TEXT NOT