- Workflow: add PostgreSQL auto-migration (8 tables in schema `workflow`) with AddStartupMigrations wiring and embedded SQL migration - Scheduler: add missing `schema_version` and `source` columns to `scheduler.schedules` table in both init script and migration - Platform: delay analytics maintenance 15s to avoid race with migration 020_AnalyticsRollups creating compute_daily_rollups() - Docker: install libgssapi-krb5-2 in runtime image to eliminate Npgsql Kerberos probe warnings across all 59 services - Docker: remove `# syntax=docker/dockerfile:1.7` directive from both Dockerfiles to avoid BuildKit frontend pull failures on flaky DNS - Postgres init: add `workflow` schema to 01-create-schemas.sql Verified: 75 containers, 0 unhealthy, 0 recurring errors after full wipe-and-rebuild cycle. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
19 lines
723 B
SQL
19 lines
723 B
SQL
-- Pre-create schemas referenced by Stella Ops services.
|
|
-- Runs once on first PostgreSQL container start via docker-entrypoint-initdb.d.
|
|
|
|
CREATE SCHEMA IF NOT EXISTS scanner;
|
|
CREATE SCHEMA IF NOT EXISTS vex;
|
|
CREATE SCHEMA IF NOT EXISTS scheduler;
|
|
CREATE SCHEMA IF NOT EXISTS policy;
|
|
CREATE SCHEMA IF NOT EXISTS notify;
|
|
CREATE SCHEMA IF NOT EXISTS notifier;
|
|
CREATE SCHEMA IF NOT EXISTS evidence;
|
|
CREATE SCHEMA IF NOT EXISTS findings;
|
|
CREATE SCHEMA IF NOT EXISTS timeline;
|
|
CREATE SCHEMA IF NOT EXISTS doctor;
|
|
CREATE SCHEMA IF NOT EXISTS issuer_directory;
|
|
CREATE SCHEMA IF NOT EXISTS analytics;
|
|
CREATE SCHEMA IF NOT EXISTS scheduler_app;
|
|
CREATE SCHEMA IF NOT EXISTS findings_ledger_app;
|
|
CREATE SCHEMA IF NOT EXISTS workflow;
|