[pLog-svn] r5502 - in plog/trunk: config install
mark at devel.lifetype.net
mark at devel.lifetype.net
Thu Jun 7 02:12:54 EDT 2007
Author: mark
Date: 2007-06-07 02:12:54 -0400 (Thu, 07 Jun 2007)
New Revision: 5502
Modified:
plog/trunk/config/config.properties.php
plog/trunk/install/dbschemas.properties.php
Log:
1. Add a new parameter db_driver to config.properties.php.
2. Fix dbschemas.properties.php
Modified: plog/trunk/config/config.properties.php
===================================================================
--- plog/trunk/config/config.properties.php 2007-06-06 21:41:10 UTC (rev 5501)
+++ plog/trunk/config/config.properties.php 2007-06-07 06:12:54 UTC (rev 5502)
@@ -26,6 +26,7 @@
# (note, if upgrading between minor releases:
# 1.0 to 1.0.1, etc. you shouldn't run the wizard)
+$config['db_driver'] = 'mysql';
$config['db_host'] = '';
$config['db_username'] = '';
$config['db_password'] = '';
Modified: plog/trunk/install/dbschemas.properties.php
===================================================================
--- plog/trunk/install/dbschemas.properties.php 2007-06-06 21:41:10 UTC (rev 5501)
+++ plog/trunk/install/dbschemas.properties.php 2007-06-07 06:12:54 UTC (rev 5502)
@@ -394,7 +394,7 @@
$Tables["locations"]["options"]["mysql"] = "TYPE=MyISAM";
$Tables["friend_groups"]["schema"] = "
- id I(10) unsigned NOTNULL AUTOINCREMENT PRIMARY,
+ id I(10) UNSIGNED NOTNULL AUTOINCREMENT PRIMARY,
user_id I(10) NOTNULL DEFAULT '0',
name C(255) NOTNULL DEFAULT '',
mangled_name C(255) NOTNULL DEFAULT '',
@@ -406,8 +406,9 @@
num_pending_friends I(10) NOTNULL DEFAULT '0',
INDEX mangled_name (mangled_name)
";
-$Tables["friend_groups"]["options"] = "TYPE=MyISAM";
+$Tables["friend_groups"]["options"]["mysql"] = "TYPE=MyISAM";
+
$Tables["friends"]["schema"] = "
id I(10) UNSIGNED NOTNULL AUTOINCREMENT PRIMARY,
user_id I(10) UNSIGNED NOTNULL DEFAULT '0',
@@ -421,5 +422,5 @@
INDEX user_id_friend_id (user_id,friend_id),
INDEX user_id_group_id (user_id,group_id)
";
-$Tables["friends"]["options"] = "TYPE=MyISAM";
+$Tables["friends"]["options"]["mysql"] = "TYPE=MyISAM";
?>
More information about the pLog-svn
mailing list