view PostgreSQL/Plugins/SQL/Downgrades/Rev10ToRev6.sql @ 836:2ef3d2ce4905 default

back to mainline
author Alain Mazy <am@orthanc.team>
date Wed, 19 Aug 2026 10:09:23 +0200
parents 36f4a9992d11
children
line wrap: on
line source

ALTER TABLE InvalidChildCounts DROP COLUMN pk;
ALTER TABLE GlobalIntegersChanges DROP COLUMN pk;
----------

-- set the global properties that actually documents the DB version, revision and some of the capabilities
-- modify only the ones that have changed
DELETE FROM GlobalProperties WHERE property IN (4);
INSERT INTO GlobalProperties VALUES (4, 6); -- GlobalProperty_DatabasePatchLevel