Mercurial > hg > orthanc-databases
view PostgreSQL/Plugins/SQL/Upgrades/Rev4ToRev5.sql @ 756:97da5aa716a0 pg-next-699
renaming supports_extended_queues as supports_reserve_queue_value
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Tue, 18 Nov 2025 18:37:45 +0100 |
| parents | 017d72dd27fa |
| children |
line wrap: on
line source
-- This file contains part of the changes required to upgrade from Revision 4 to Revision 5 (DB version 6) -- It actually contains only the changes that: -- can not be executed with an idempotent statement in SQL -- or would polute the PrepareIndex.sql -- This file is executed only if the current schema is in revision 4 and it is executed -- before PrepareIndex.sql that is idempotent. DO $body$ BEGIN BEGIN ALTER TABLE AttachedFiles ADD COLUMN customData BYTEA; EXCEPTION WHEN duplicate_column THEN RAISE NOTICE 'column customData already exists in AttachedFiles.'; END; END $body$ LANGUAGE plpgsql;
