--- /dev/null
+begin;
+
+
+-- SELECT COUNT(*), workstation, name FROM actor.workstation_setting
+-- 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;
+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);
+
+commit;