cvs: pearweb /sql users.sql
| From: | Martin Jansen | Date: | Thu, 27 Oct 2005 20:02:46 +0000 |
| Subject: | cvs: pearweb /sql users.sql | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-35910@lists.php.net to get a copy of this message | ||
mj Thu Oct 27 16:02:46 2005 EDT
Modified files:
/pearweb/sql users.sql
Log:
* Add two dummy acounts so that it is possible to bootstrap the database
for testing purposes.
http://cvs.php.net/diff.php/pearweb/sql/users.sql?r1=1.15&r2=1.16&ty=u
Index: pearweb/sql/users.sql
diff -u pearweb/sql/users.sql:1.15 pearweb/sql/users.sql:1.16
--- pearweb/sql/users.sql:1.15 Tue Oct 25 07:49:29 2005
+++ pearweb/sql/users.sql Thu Oct 27 16:02:42 2005
@@ -18,3 +18,9 @@
KEY handle (handle,registered),
KEY pgpkeyid (pgpkeyid)
);
+
+-- Password is "admin"
+INSERT INTO users VALUES
('admin','21232f297a57a5a743894a0e4a801fc3','Administrator','root@example.com','http://www.example.com/',NOW(),NULL,NULL,1,1,0,
'This is the super user.',NULL,NULL,'');
+
+-- Password is "helloworld"
+INSERT INTO users VALUES
('johndoe','fc5e038d38a57032085441e7fe7010b0','John
Doe','john@example.com','http://www.example.com/',NOW(),'root',NULL,1,1,0,
'Hi, I\'m John Doe.',NULL,NULL,'');