[open-ils-commits] r12580 - branches/rel_1_4_0/Open-ILS/src/sql/Pg (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Mar 18 11:21:57 EDT 2009
Author: miker
Date: 2009-03-18 11:21:55 -0400 (Wed, 18 Mar 2009)
New Revision: 12580
Modified:
branches/rel_1_4_0/Open-ILS/src/sql/Pg/1.4.0.2-1.4.0.3-upgrade-db.sql
Log:
give the admin user a work ou at upgrade time
Modified: branches/rel_1_4_0/Open-ILS/src/sql/Pg/1.4.0.2-1.4.0.3-upgrade-db.sql
===================================================================
--- branches/rel_1_4_0/Open-ILS/src/sql/Pg/1.4.0.2-1.4.0.3-upgrade-db.sql 2009-03-18 15:21:04 UTC (rev 12579)
+++ branches/rel_1_4_0/Open-ILS/src/sql/Pg/1.4.0.2-1.4.0.3-upgrade-db.sql 2009-03-18 15:21:55 UTC (rev 12580)
@@ -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);
+
More information about the open-ils-commits
mailing list