LP#1750894 Workstation settings base schema sync
authorBill Erickson <berickxx@gmail.com>
Wed, 30 May 2018 20:38:34 +0000 (16:38 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 30 May 2018 20:38:34 +0000 (16:38 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/sql/Pg/005.schema.actors.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.workstation-settings.sql

index 4b391d4..1152d97 100644 (file)
@@ -1109,7 +1109,7 @@ BEGIN
             -- if we have a value, we have a setting type
             summary.has_user_setting := TRUE;
 
-            IF workstation_id THEN
+            IF workstation_id IS NOT NULL THEN
                 -- Only inform the caller about the workstation
                 -- setting type disposition when a workstation id is
                 -- provided.  Otherwise, it's NULL to indicate UNKNOWN.
index bb877c0..11ff097 100644 (file)
@@ -113,7 +113,7 @@ BEGIN
             -- if we have a value, we have a setting type
             summary.has_user_setting := TRUE;
 
-            IF workstation_id THEN
+            IF workstation_id IS NOT NULL THEN
                 -- Only inform the caller about the workstation
                 -- setting type disposition when a workstation id is
                 -- provided.  Otherwise, it's NULL to indicate UNKNOWN.