Correcting some careless typos...
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 14 Jul 2009 18:42:30 +0000 (18:42 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 14 Jul 2009 18:42:30 +0000 (18:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13590 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/999.functions.global.sql

index d373c0a..1a46463 100644 (file)
@@ -459,14 +459,14 @@ BEGIN
        UPDATE asset.copy_note SET creator = dest_usr WHERE creator = src_usr;
 
        -- auditor.*
-       DELETE FROM auditor.usr_address_history WHERE id = src_usr;
-       DELETE FROM auditor.usr_history WHERE id = src_usr;
+       DELETE FROM auditor.actor_usr_address_history WHERE id = src_usr;
+       DELETE FROM auditor.actor_usr_history WHERE id = src_usr;
        UPDATE auditor.asset_call_number_history SET creator = dest_usr WHERE creator = src_usr;
        UPDATE auditor.asset_call_number_history SET editor  = dest_usr WHERE editor  = src_usr;
        UPDATE auditor.asset_copy_history SET creator = dest_usr WHERE creator = src_usr;
        UPDATE auditor.asset_copy_history SET editor  = dest_usr WHERE editor  = src_usr;
-       UPDATE auditor.asset_biblio_record_entry_history SET creator = dest_usr WHERE creator = src_usr;
-       UPDATE auditor.asset_biblio_record_entry_history SET editor  = dest_usr WHERE editor  = src_usr;
+       UPDATE auditor.biblio_record_entry_history SET creator = dest_usr WHERE creator = src_usr;
+       UPDATE auditor.biblio_record_entry_history SET editor  = dest_usr WHERE editor  = src_usr;
 
        -- biblio.*
        UPDATE biblio.record_entry SET creator = dest_usr WHERE creator = src_usr;