give the admin user a work ou at upgrade time rel_1_4_0_3
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 18 Mar 2009 15:21:04 +0000 (15:21 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 18 Mar 2009 15:21:04 +0000 (15:21 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0_3@12579 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/1.4.0.2-1.4.0.3-upgrade-db.sql

index 22c6aa8..f006943 100644 (file)
@@ -17,3 +17,6 @@
 
 INSERT INTO config.upgrade_log (version) VALUES ('1.4.0.3');
 
+-- Set a work_ou for the Administrator user
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (1, 1);
+