Project

General

Profile

« Previous | Next » 

Revision 309

Added by stefan almost 19 years ago

Added default value '' to all varchar and text fields

View differences:

install.php
30 30
	$mod_wysiwyg = 'CREATE TABLE `'.TABLE_PREFIX.'mod_wysiwyg` ( '
31 31
						  . ' `section_id` INT NOT NULL,'
32 32
						  . ' `page_id` INT NOT NULL,'
33
	                 . ' `content` TEXT NOT NULL ,'
34
	                 . ' `text` TEXT NOT NULL ,'
33
	                 . ' `content` TEXT NOT NULL DEFAULT \'\','
34
	                 . ' `text` TEXT NOT NULL DEFAULT \'\','
35 35
	                 . ' PRIMARY KEY ( `section_id` ) )'
36 36
	                 . ' ';
37 37
	$database->query($mod_wysiwyg);
......
62 62
	
63 63
}
64 64

  
65
?>
65
?>

Also available in: Unified diff