Project

General

Profile

« Previous | Next » 

Revision 309

Added by stefan over 18 years ago

Added default value '' to all varchar and text fields

View differences:

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

  
64
?>
64
?>

Also available in: Unified diff