migration 0005: idempotent ADD COLUMN IF NOT EXISTS
Caught when redeploying after the 0006 patch: the live DB had migration 5 stamped with a stale checksum + the column already present, so neither re-apply nor checksum-only-fix worked cleanly. Making 0005 idempotent fixes both paths.
This commit is contained in:
parent
2ed3d3373a
commit
330bc8bde2
1 changed files with 1 additions and 1 deletions
|
|
@ -9,4 +9,4 @@
|
|||
-- text export. The TTS version is production output, regeneratable
|
||||
-- whenever the author's beat-placement taste shifts.
|
||||
ALTER TABLE chapters
|
||||
ADD COLUMN body_md_tts text;
|
||||
ADD COLUMN IF NOT EXISTS body_md_tts text;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue