Mercurial > hg > orthanc-databases
view PostgreSQL/Plugins/SQL/Upgrades/Rev6ToRev699.sql @ 764:34b810a7b23a pg-next-699
try to fix macOS build: removed _GNU_SOURCE since it is not in Compiler.cmake mainline
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Thu, 27 Nov 2025 19:16:35 +0100 |
| parents | 2bf57bc22a30 |
| children | 3327126233a6 |
line wrap: on
line source
-- Adding a PK to these 2 table to allow pg_repack to process these tables, enabling reclaiming disk space and defragmenting the tables. ALTER TABLE InvalidChildCounts ADD COLUMN pk BIGSERIAL PRIMARY KEY; ALTER TABLE GlobalIntegersChanges ADD COLUMN pk BIGSERIAL PRIMARY KEY; -- Adding the queues timeout ALTER TABLE Queues ADD COLUMN reservedUntil TIMESTAMP DEFAULT NULL;
