14 lines
578 B
SQL
14 lines
578 B
SQL
-- Platform environment_settings table for installation-scoped runtime config overrides.
|
|
-- Fresh compose databases should start without a SetupComplete marker so the
|
|
-- truthful bootstrap wizard can own first-run convergence.
|
|
-- This is idempotent and safe to run on new compose databases.
|
|
|
|
CREATE SCHEMA IF NOT EXISTS platform;
|
|
|
|
CREATE TABLE IF NOT EXISTS platform.environment_settings (
|
|
key TEXT PRIMARY KEY,
|
|
value TEXT NOT NULL,
|
|
updated_at TIMESTAMPTZ NOT NULL DEFAULT now(),
|
|
updated_by TEXT NOT NULL DEFAULT 'system'
|
|
);
|