dd420ff85b
CI / detect-changes (pull_request) Failing after 6s
CI / branch-name (pull_request) Successful in 1s
CI / guardrail-integrity (pull_request) Failing after 4s
CI / secret-scan (pull_request) Failing after 6s
CI / dep-audit (pull_request) Failing after 12s
CI / sbom-scan (pull_request) Failing after 2s
CI / build-sha-integrity (pull_request) Failing after 4s
CI / validate-canonical-controls (pull_request) Failing after 9s
CI / loc-budget (pull_request) Has been skipped
CI / go-lint (pull_request) Has been skipped
CI / python-lint (pull_request) Has been skipped
CI / nodejs-lint (pull_request) Has been skipped
CI / nodejs-build (pull_request) Has been skipped
CI / test-go (pull_request) Has been skipped
CI / iace-gt-coverage (pull_request) Has been skipped
CI / test-python-backend (pull_request) Has been skipped
CI / test-python-document-crawler (pull_request) Has been skipped
CI / test-python-dsms-gateway (pull_request) Has been skipped
- master-controls route: guard all mapping queries with hasMappingTables() so an unseeded DB degrades to empty filters instead of a 500. - docker-compose: MinIO endpoint/keys/secure overridable via env (prod defaults preserved) — enables per-environment local config. - migration 151: reproducible iace_projects.parent_project_id (was ad-hoc). [migration-approved] Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
17 lines
655 B
SQL
17 lines
655 B
SQL
-- Migration 151: iace_projects.parent_project_id (Variantenmanagement)
|
|
-- Die Spalte wurde urspruenglich ad-hoc auf die DBs gebracht (Commit 8682522,
|
|
-- 2026-05-09) OHNE Repo-Migration -- dadurch ging sie bei DB-Wechseln/Resets
|
|
-- verloren. Diese Migration macht sie reproduzierbar. Code erwartet
|
|
-- *uuid.UUID (nullable). Strikt add-only. [migration-approved]
|
|
|
|
SET search_path TO compliance, public;
|
|
|
|
DO $$
|
|
BEGIN
|
|
IF EXISTS (SELECT 1 FROM information_schema.tables
|
|
WHERE table_schema='compliance' AND table_name='iace_projects') THEN
|
|
ALTER TABLE iace_projects
|
|
ADD COLUMN IF NOT EXISTS parent_project_id UUID;
|
|
END IF;
|
|
END $$;
|