Skip to main content

Module schema

Module schema 

Expand description

DuckDB schema DDL. See spec §3.2.

Constants§

CURRENT_SCHEMA_VERSION
Current DuckDB schema version. Stamped into the provenance table on every fresh ingest and re-validated on every open_read_only so an operator who hands a stale .duckdb to --cache-dir directly gets a typed parse-time error instead of cryptic SQL failures at analysis time. Bump whenever a CREATE TABLE shape changes.
INITIAL_PROVENANCE
SCHEMA_V1