[open-ils-commits] r8577 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Feb 1 16:05:51 EST 2008
Author: miker
Date: 2008-02-01 15:38:03 -0500 (Fri, 01 Feb 2008)
New Revision: 8577
Modified:
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
adding the usr->barcode link
Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2008-02-01 20:20:54 UTC (rev 8576)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2008-02-01 20:38:03 UTC (rev 8577)
@@ -933,6 +933,7 @@
-- Admin user barcode
INSERT INTO actor.card (usr, barcode) VALUES (1,'101010101010101');
+UPDATE actor.usr SET card = (SELECT id FROM actor.card WHERE barcode = '101010101010101') WHERE id = 1;
-- Admin user permissions
INSERT INTO permission.usr_perm_map (usr,perm,depth) VALUES (1,-1,0);
More information about the open-ils-commits
mailing list