From e428eed3f8827897683f46ef439a1d46005955b2 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 10 Jun 2001 14:24:51 +0000 Subject: [PATCH] Sample data for the baseline table, to verify upgrades for developers --- addressbook/setup/test_data.inc.php | 44 +++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 addressbook/setup/test_data.inc.php diff --git a/addressbook/setup/test_data.inc.php b/addressbook/setup/test_data.inc.php new file mode 100644 index 0000000000..e4372fe6f0 --- /dev/null +++ b/addressbook/setup/test_data.inc.php @@ -0,0 +1,44 @@ +query("INSERT INTO addressbook ( + ab_owner,ab_access,ab_firstname,ab_lastname, + ab_email,ab_hphone,ab_wphone,ab_fax,ab_pager, + ab_mphone,ab_ophone,ab_street,ab_city,ab_state,ab_zip, + ab_bday,ab_notes,ab_company) + VALUES(500,'private','John','Doe', + 'jdoe@yahoo.com','212-555-5555','212-555-4444','212-555-4445','212-555-5556', + '212-555-5557','212-555-5558','1234 Elm','Anytown','New York','01010', + '12/25/1970','This is a test note\nfor verification','ClearRiver Tech.')"); + + $oProc->query("INSERT INTO addressbook ( + ab_owner,ab_access,ab_firstname,ab_lastname, + ab_email,ab_hphone,ab_wphone,ab_fax,ab_pager, + ab_mphone,ab_ophone,ab_street,ab_city,ab_state,ab_zip, + ab_bday,ab_notes,ab_company) + VALUES(502,'public','Jane','Smith', + 'jane.smith@motherearth.org','212-555-5555','212-555-4444','212-555-4445','212-555-5556', + '212-555-5557','212-555-5558','1313 Mockingbird Ln.','Hooterville','Kentucky','54874', + '01/01/1983','This is a test note\nfor verification','Jasper Automotive')"); + + $oProc->query("INSERT INTO addressbook ( + ab_owner,ab_access,ab_firstname,ab_lastname, + ab_email,ab_hphone,ab_wphone,ab_fax,ab_pager, + ab_mphone,ab_ophone,ab_street,ab_city,ab_state,ab_zip, + ab_bday,ab_notes,ab_company) + VALUES(1,'private','Steven','Wright', + 'jdoe@yahoo.com','212-555-5555','212-555-4444','212-555-4445','212-555-5556', + '212-555-5557','212-555-5558','321 Contact','Oiforgot','North Dakota','15421', + '10/05/1955','This is a test note\nfor verification','Baubles and Beads')"); + +?>