JBAS-1132 SQL sequence copy/paste repair
authorBill Erickson <berickxx@gmail.com>
Tue, 22 Mar 2016 17:47:06 +0000 (10:47 -0700)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/sql/schema/deploy/patron-self-reg-mods.sql
KCLS/sql/schema/revert/patron-self-reg-mods.sql

index 80b9ce4..8e15efc 100644 (file)
@@ -38,7 +38,7 @@ BEGIN
             VALUES (10, 1, 'Card Design (online)');
 
         -- need to retain the ID since it's referenced in the code.
-        PERFORM SETVAL('biblio.peer_type_id_seq'::TEXT, 11);
+        PERFORM SETVAL('actor.stat_cat_id_seq'::TEXT, 11);
 
     END IF;
 
index e9354f0..59c4c73 100644 (file)
@@ -6,7 +6,7 @@ DELETE FROM actor.stat_cat_entry_usr_map WHERE stat_cat = 10;
 DELETE FROM actor.stat_cat WHERE id = 10;
 
 -- need to retain the ID since it's referenced in the code.
-SELECT SETVAL('biblio.peer_type_id_seq'::TEXT, 10);
+SELECT SETVAL('actor.stat_cat_id_seq'::TEXT, 10);
 
 DELETE FROM actor.org_unit_setting 
     WHERE name = 'opac.self_register.profile';