* fix(HH-597): repair assignment policy schema migration * fix(HH-597): harden assignment policy migration --------- Co-authored-by: Rogee <rogee@ipao.vip>
9 lines
329 B
SQL
9 lines
329 B
SQL
-- v86 backfills legacy bindings and may receive new assignment-policy data.
|
|
-- Removing its table, columns, or indexes would destroy that data and could
|
|
-- also remove objects which predated this migration.
|
|
DO $$
|
|
BEGIN
|
|
RAISE EXCEPTION 'migration 000086 is irreversible: restore from backup instead of migrating down';
|
|
END
|
|
$$;
|