Revision 371
Added by Matthias almost 18 years ago
install.php | ||
---|---|---|
28 | 28 |
// Create table |
29 | 29 |
$database->query("DROP TABLE IF EXISTS `".TABLE_PREFIX."mod_wrapper`"); |
30 | 30 |
$mod_wrapper = 'CREATE TABLE `'.TABLE_PREFIX.'mod_wrapper` (' |
31 |
. ' `section_id` INT NOT NULL,'
|
|
32 |
. ' `page_id` INT NOT NULL,'
|
|
33 |
. ' `url` TEXT NOT NULL DEFAULT \'\','
|
|
34 |
. ' `height` INT NOT NULL,'
|
|
35 |
. ' PRIMARY KEY ( `section_id` ) )'
|
|
36 |
. ' ';
|
|
31 |
. ' `section_id` INT NOT NULL DEFAULT \'0\','
|
|
32 |
. ' `page_id` INT NOT NULL DEFAULT \'0\','
|
|
33 |
. ' `url` TEXT NOT NULL,'
|
|
34 |
. ' `height` INT NOT NULL DEFAULT \'0\','
|
|
35 |
. ' PRIMARY KEY ( `section_id` ) '
|
|
36 |
. ' )';
|
|
37 | 37 |
$database->query($mod_wrapper); |
38 | 38 |
|
39 | 39 |
} |
Also available in: Unified diff
Fixed missing default values for INT fields in all system and modules tables (#329)