view PostgreSQL/Plugins/SQL/Downgrades/Rev699ToRev6.sql @ 768:a07d176a4b58 pg-next-699

renumbered revision 699 into 10
author Alain Mazy <am@orthanc.team>
date Fri, 28 Nov 2025 14:31:16 +0100
parents 2382e6fab2b6
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