mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-22 23:54:33 +01:00
Without this guard, migration 0004 fails on databases where the column already exists, such as during the existing-DB-without-schema-version upgrade path where 0001 baseline is auto-marked and 0002-0005 re-applied.
2 lines
102 B
SQL
2 lines
102 B
SQL
ALTER TABLE public.guild_alliances ADD COLUMN IF NOT EXISTS recruiting boolean NOT NULL DEFAULT true;
|