Project

General

Profile

« Previous | Next » 

Revision 363

Added by stefan over 18 years ago

Fixed bug #313 - MySQL strict mode installation issue with missing default values.

View differences:

save.php
456 456
	       . ' `username` VARCHAR( 255 ) NOT NULL DEFAULT \'\' ,'
457 457
	       . ' `password` VARCHAR( 255 ) NOT NULL DEFAULT \'\' ,'
458 458
	       . ' `remember_key` VARCHAR( 255 ) NOT NULL DEFAULT \'\','
459
	       . ' `last_reset` INT NOT NULL ,'
459
	       . ' `last_reset` INT NOT NULL DEFAULT 0,'
460 460
	       . ' `display_name` VARCHAR( 255 ) NOT NULL DEFAULT \'\' ,'
461 461
	       . ' `email` TEXT NOT NULL DEFAULT \'\' ,'
462
	       . ' `timezone` INT NOT NULL ,'
462
	       . ' `timezone` INT NOT NULL DEFAULT 0,'
463 463
	       . ' `date_format` VARCHAR( 255 ) NOT NULL DEFAULT \'\' ,'
464 464
	       . ' `time_format` VARCHAR( 255 ) NOT NULL DEFAULT \'\' ,'
465 465
	       . ' `language` VARCHAR( 5 ) NOT NULL DEFAULT \'\' ,'
466 466
	       . ' `home_folder` TEXT NOT NULL DEFAULT \'\' ,'
467
	       . ' `login_when` INT NOT NULL ,'
467
	       . ' `login_when` INT NOT NULL DEFAULT 0,'
468 468
	       . ' `login_ip` VARCHAR( 15 ) NOT NULL DEFAULT \'\' ,'
469 469
	       . ' PRIMARY KEY ( `user_id` ) )'
470 470
	       . ' ';

Also available in: Unified diff