☰ Contents

upgrade.sql

SQL · 17 lines · 530 bytes · wiki path 10 Architecture/db/SrdSupport/upgrade.sql · download the raw file · cited from Data Model — `SRD_SUPPORT`

Same folder: 001-work-and-planning.sql · 002-decisions-and-grants.sql · 003-evidence.sql · 004-ledger.sql · 005-registry.sql · 006-memory.sql · 007-policy-and-operations.sql · 008-immutability-and-payload-guards.sql · 009-seed-platform-policy.sql · 010-runtime-execution.sql · acceptance-install-clean.sql · acceptance-upgrade.sql · grant-runtime.sql · install-clean.sql · lint_ddl.py · verify-ledger.sql · verify-schema.sql

SET DEFINE OFF
WHENEVER SQLERROR EXIT SQL.SQLCODE

-- Numbered upgrades in dependency order; each is twice-runnable. Guards (008) run after every table exists,
-- the seed (009) last. Adding a change = a new NNN file appended here, never an edit of a shipped one.

@@001-work-and-planning.sql
@@002-decisions-and-grants.sql
@@003-evidence.sql
@@004-ledger.sql
@@005-registry.sql
@@006-memory.sql
@@007-policy-and-operations.sql
@@008-immutability-and-payload-guards.sql
@@009-seed-platform-policy.sql

@@010-runtime-execution.sql