Revision 329
Added by stefan over 18 years ago
trunk/wb/install/save.php | ||
---|---|---|
399 | 399 |
require(WB_PATH.'/admin/interface/version.php'); |
400 | 400 |
|
401 | 401 |
// Settings table |
402 |
$settings="CREATE TABLE `".TABLE_PREFIX."settings` ( `setting_id` INT NOT NULL auto_increment, |
|
403 |
`name` VARCHAR( 255 ) NOT NULL DEFAULT '' ,
|
|
404 |
`value` TEXT NOT NULL DEFAULT '' ,
|
|
405 |
PRIMARY KEY ( `setting_id` ) )"; |
|
402 |
$settings="CREATE TABLE `".TABLE_PREFIX."settings` ( `setting_id` INT NOT NULL auto_increment,"
|
|
403 |
. " `name` VARCHAR( 255 ) NOT NULL DEFAULT '' ,"
|
|
404 |
. " `value` TEXT NOT NULL DEFAULT '' ,"
|
|
405 |
. " PRIMARY KEY ( `setting_id` ) )";
|
|
406 | 406 |
$database->query($settings); |
407 | 407 |
|
408 | 408 |
$settings_rows= "INSERT INTO `".TABLE_PREFIX."settings` VALUES " |
Also available in: Unified diff
Style adjustment of the install script.