# HG changeset patch # User Alain Mazy # Date 1755097206 -7200 # Node ID 725930e24cb1cfc6e911ff498b93b394bc074cec # Parent b2d2e5183de6953edb1fa88abf87d6bea0ebe65d fix doc diff -r b2d2e5183de6 -r 725930e24cb1 PostgreSQL/Plugins/SQL/Upgrades/Rev5ToRev6.sql --- a/PostgreSQL/Plugins/SQL/Upgrades/Rev5ToRev6.sql Wed Aug 13 11:08:10 2025 +0200 +++ b/PostgreSQL/Plugins/SQL/Upgrades/Rev5ToRev6.sql Wed Aug 13 17:00:06 2025 +0200 @@ -1,6 +1,6 @@ CREATE SEQUENCE IF NOT EXISTS PatientRecyclingOrderSequence INCREMENT 1 START 1; --- the protection mechanisms changed in rev 499. We now use a metadata (18: IsProtected) +-- the protection mechanisms changed in rev 6. We now use a metadata (18: IsProtected) -- while, in the past, patients where protected by not appearing in the PatientRecyclingOrder -- Step 1: Identify all patients that are not in PatientRecyclingOrder (those are the protected patients)