From: Chris Sharp Date: Mon, 2 Nov 2020 19:17:41 +0000 (-0500) Subject: SQL: typo correction X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b45010a9d400c06d19fc8bb346117a52956a1cee;p=evergreen%2Fpines.git SQL: typo correction --- diff --git a/Open-ILS/src/sql/Pg/version-upgrade/pines-pre-3.6-upgrade.sql b/Open-ILS/src/sql/Pg/version-upgrade/pines-pre-3.6-upgrade.sql index 267f97f7a9..752c63cafd 100644 --- a/Open-ILS/src/sql/Pg/version-upgrade/pines-pre-3.6-upgrade.sql +++ b/Open-ILS/src/sql/Pg/version-upgrade/pines-pre-3.6-upgrade.sql @@ -5,7 +5,7 @@ begin; -- GROUP BY 2, 3 HAVING COUNT(*) > 1; -- we need to dedupe our workstation settings to prepare for the new index -create table actor.workstation_setting_temp like actor.workstation_setting; +create table actor.workstation_setting_temp (like actor.workstation_setting); insert into actor.workstation_setting_temp select * from actor.workstation_setting; truncate actor.workstation_setting; insert into actor.workstation_setting (select distinct on (workstation, name) id, workstation, name, value from actor.workstation_setting_temp);