Permalink
Browse files

Set prefs field in user table to null (#1484386)

  • Loading branch information...
1 parent 7325395 commit 112bff6f1129de9966155f841bb0a6e855110886 @thomascube thomascube committed Oct 10, 2007
Showing with 2 additions and 2 deletions.
  1. +1 −1 SQL/mysql.initial.sql
  2. +1 −1 SQL/mysql5.initial.sql
View
@@ -92,7 +92,7 @@ CREATE TABLE `users` (
`created` datetime NOT NULL default '0000-00-00 00:00:00',
`last_login` datetime NOT NULL default '0000-00-00 00:00:00',
`language` varchar(5) NOT NULL default 'en',
- `preferences` text NOT NULL default '',
+ `preferences` text,
PRIMARY KEY (`user_id`)
);
View
@@ -28,7 +28,7 @@ CREATE TABLE `users` (
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`last_login` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`language` varchar(5) NOT NULL DEFAULT 'en',
- `preferences` text NOT NULL DEFAULT '',
+ `preferences` text,
PRIMARY KEY(`user_id`)
) TYPE=MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;

0 comments on commit 112bff6

Please sign in to comment.