view PostgreSQL/Plugins/SQL/Downgrades/Rev10ToRev6.sql @ 787:3d44e13cf9c5 pg-next-1099 tip

DeleteResource: remove warning when multiple clients are trying to delete the same resoure at the same time
author Alain Mazy <am@orthanc.team>
date Mon, 08 Dec 2025 10:36:59 +0100
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