Revision 132
Added by ryan about 19 years ago
trunk/wb/install/save.php | ||
---|---|---|
494 | 494 |
$database->query($search); |
495 | 495 |
|
496 | 496 |
// Addons table |
497 |
$modules = 'CREATE TABLE `'.TABLE_PREFIX.'addons` ( '
|
|
497 |
$addons = 'CREATE TABLE `'.TABLE_PREFIX.'addons` ( '
|
|
498 | 498 |
.'`addon_id` INT NOT NULL auto_increment ,' |
499 | 499 |
.'`directory` VARCHAR( 255 ) NOT NULL ,' |
500 | 500 |
.'`name` VARCHAR( 255 ) NOT NULL ,' |
... | ... | |
506 | 506 |
.'`author` VARCHAR( 255 ) NOT NULL ,' |
507 | 507 |
.'`license` VARCHAR( 255 ) NOT NULL ,' |
508 | 508 |
.' PRIMARY KEY ( `addon_id` ) ); '; |
509 |
$database->query($modules);
|
|
509 |
$database->query($addons);
|
|
510 | 510 |
|
511 | 511 |
$search = 'CREATE TABLE `'.TABLE_PREFIX.'modules` ( ' |
512 | 512 |
. ' `name` VARCHAR( 255 ) NOT NULL ,' |
Also available in: Unified diff
""