Project

General

Profile

« Previous | Next » 

Revision 371

Added by Matthias almost 18 years ago

Fixed missing default values for INT fields in all system and modules tables (#329)

View differences:

install.php
28 28
	// Create table
29 29
	$database->query("DROP TABLE IF EXISTS `".TABLE_PREFIX."mod_wysiwyg`");
30 30
	$mod_wysiwyg = 'CREATE TABLE `'.TABLE_PREFIX.'mod_wysiwyg` ( '
31
						  . ' `section_id` INT NOT NULL,'
32
						  . ' `page_id` INT NOT NULL,'
33
	                 . ' `content` TEXT NOT NULL DEFAULT \'\','
34
	                 . ' `text` TEXT NOT NULL DEFAULT \'\','
35
	                 . ' PRIMARY KEY ( `section_id` ) )'
36
	                 . ' ';
31
		. ' `section_id` INT NOT NULL DEFAULT \'0\','
32
		. ' `page_id` INT NOT NULL DEFAULT \'0\','
33
		. ' `content` TEXT NOT NULL ,'
34
		. ' `text` TEXT NOT NULL ,'
35
		. ' PRIMARY KEY ( `section_id` ) '
36
		. ' )';
37 37
	$database->query($mod_wysiwyg);
38 38
	
39 39
	// Insert info into the search table

Also available in: Unified diff