3 SELECT evergreen.upgrade_deps_block_check('1064', :eg_version);
5 ALTER TABLE serial.issuance DROP CONSTRAINT IF EXISTS issuance_caption_and_pattern_fkey;
7 -- Using NOT VALID and VALIDATE CONSTRAINT limits the impact to concurrent work.
8 -- For details, see: https://www.postgresql.org/docs/current/static/sql-altertable.html
10 ALTER TABLE serial.issuance ADD CONSTRAINT issuance_caption_and_pattern_fkey
11 FOREIGN KEY (caption_and_pattern)
12 REFERENCES serial.caption_and_pattern (id)
14 DEFERRABLE INITIALLY DEFERRED
17 ALTER TABLE serial.issuance VALIDATE CONSTRAINT issuance_caption_and_pattern_fkey;