Mercurial > hg > orthanc-databases
view PostgreSQL/Plugins/SQL/Upgrades/Rev6ToRev10.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 | PostgreSQL/Plugins/SQL/Upgrades/Rev6ToRev699.sql@3327126233a6 |
| children | 135bd5b3228c |
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 BIGINT DEFAULT NULL;
