git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@444
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
BEGIN;
+SET searchpath TO scratchpad, public;
-- Map libraries
UPDATE staging_items
SET owning_lib = 'XSTRATA'
WHERE location = 'FALCON';
+-- Map item types
+UPDATE staging_items
+ SET item_type = 'BOOK'
+ WHERE item_type IN ('BOOKS');
+
+UPDATE staging_items
+ SET item_type = 'MICROFORM'
+ WHERE item_type = 'MICROFORMS';
+
+UPDATE staging_items
+ SET item_type = 'NEWSPAPER'
+ WHERE item_type = 'NEWSPAPERS';
+
-- Map locations
UPDATE staging_items
SET location = 'AV'