add pre-3.4.2 upgrade script
authorChris Sharp <csharp@georgialibraries.org>
Wed, 1 Apr 2020 15:11:06 +0000 (11:11 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 1 Apr 2020 15:11:06 +0000 (11:11 -0400)
Open-ILS/src/sql/Pg/version-upgrade/pines-pre-3.4.2-upgrade.sql [new file with mode: 0644]

diff --git a/Open-ILS/src/sql/Pg/version-upgrade/pines-pre-3.4.2-upgrade.sql b/Open-ILS/src/sql/Pg/version-upgrade/pines-pre-3.4.2-upgrade.sql
new file mode 100644 (file)
index 0000000..bccd3ef
--- /dev/null
@@ -0,0 +1,6 @@
+begin;
+
+-- remove duplicate rows from actor.workstation settings
+delete from actor.workstation_setting t1 using actor.workstation_setting t2 where t1.id < t2.id and t1.workstation = t2.workstation and t1.name = t2.name;
+
+commit;