[open-ils-commits] r8138 - trunk/Open-ILS/src/sql/Pg

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Dec 4 12:16:02 EST 2007


Author: dbs
Date: 2007-12-04 11:56:30 -0500 (Tue, 04 Dec 2007)
New Revision: 8138

Modified:
   trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
Reorder to satisfy FK constraints.


Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2007-12-04 09:54:24 UTC (rev 8137)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2007-12-04 16:56:30 UTC (rev 8138)
@@ -633,11 +633,6 @@
 
 --005.schema.actors.sql:
 
--- Just so that there is a user...
-INSERT INTO actor.usr ( profile, card, usrname, passwd, first_given_name, family_name, dob, master_account, super_user, ident_type, ident_value, home_ou ) VALUES ( 1, 1, 'admin', 'open-ils', oils_i18n_gettext('Administrator'), oils_i18n_gettext('System Account'), '1979-01-22', TRUE, TRUE, 1, 'identification', 1 );
-
-INSERT INTO actor.card (usr, barcode) VALUES (1,'101010101010101');
-
 -- The PINES levels
 INSERT INTO actor.org_unit_type (name, opac_label, depth, parent, can_have_users, can_have_vols) VALUES 
     ( oils_i18n_gettext('Consortium'),oils_i18n_gettext('Everywhere'), 0, NULL, FALSE, FALSE ),
@@ -662,6 +657,12 @@
 
 UPDATE actor.org_unit SET holds_address = 1, ill_address = 1, billing_address = 1, mailing_address = 1;
 
+-- Just so that there is a user...
+INSERT INTO actor.usr ( profile, card, usrname, passwd, first_given_name, family_name, dob, master_account, super_user, ident_type, ident_value, home_ou ) VALUES ( 1, 1, 'admin', 'open-ils', oils_i18n_gettext('Administrator'), oils_i18n_gettext('System Account'), '1979-01-22', TRUE, TRUE, 1, 'identification', 1 );
+
+INSERT INTO actor.card (usr, barcode) VALUES (1,'101010101010101');
+
+
 --006.data.permissions.sql:
 INSERT INTO permission.perm_list VALUES 
     (-1, 'EVERYTHING', NULL),



More information about the open-ils-commits mailing list