mirror of
https://github.com/zvx-echo6/central.git
synced 2026-06-10 20:04:43 +02:00
v0.10.3.1: soft-disable state_511_atis* adapters instead of DELETE (FK blocked v0.10.3 migration) (#90)
Closes #90 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2232718509
commit
7fa4f36e46
2 changed files with 31 additions and 0 deletions
|
|
@ -1,6 +1,13 @@
|
|||
-- v0.10.3: rip out state_511_atis + state_511_atis_cameras (Castle Rock legacy
|
||||
-- shape EOL; superseded by itd_511 + itd_511_cameras from migration 031 / v0.10.0).
|
||||
--
|
||||
-- v0.10.3.1: Superseded by 033_soft_disable_state_511_atis_adapters.sql due to
|
||||
-- the FK constraint events_adapter_fkey ON DELETE RESTRICT. Historical events
|
||||
-- preserve referential integrity; the rows remain as soft-deleted tombstones
|
||||
-- (enabled=false + paused_at=NOW()). This file is preserved as part of the
|
||||
-- append-only migration ledger; running it on a fresh database still throws
|
||||
-- the same FK error if any state_511_atis* events exist.
|
||||
--
|
||||
-- Idempotent: the DELETE succeeds whether the rows are present or not. Historical
|
||||
-- events in public.events stay (preserved as historical record per Matt's call);
|
||||
-- only the config.adapters rows that would otherwise be hot-reloaded into the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue