fix character set

This commit is contained in:
Roberto Polli 2011-04-08 14:10:42 +02:00
parent 612c157143
commit 8c2339677f

View File

@ -214,15 +214,15 @@ CREATE TABLE IF NOT EXISTS `users_settings` (
`language` varchar(5) DEFAULT NULL, `language` varchar(5) DEFAULT NULL,
`sendvcard` char(1) DEFAULT NULL, `sendvcard` char(1) DEFAULT NULL,
`sendtype` varchar(20) DEFAULT NULL, `sendtype` varchar(20) DEFAULT NULL,
timesavemessage INTEGER DEFAULT 300, `timesavemessage` int DEFAULT 300,
forward_type char(1) NULL `forward_type` char(1) NULL
PRIMARY KEY (`username`) PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `users_calendar_settings`; DROP TABLE IF EXISTS `users_calendar_settings`;
CREATE TABLE `users_calendar_settings` ( CREATE TABLE `users_calendar_settings` (
`username` VARCHAR(320) NOT NULL, `username` VARCHAR(320) CHARACTER SET latin1 NOT NULL,
`timezone` VARCHAR(320) NOT NULL DEFAULT 'Europe/Rome', `timezone` VARCHAR(320) NOT NULL DEFAULT 'Europe/Rome',
PRIMARY KEY (`username`) PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;