- Fix failure on MySQL database upgrade from 0.7 - text column can't have default value (#1488300)

This commit is contained in:
alecpl
2012-01-12 07:16:51 +00:00
parent 5d950766df
commit 3d4a482fd7
3 changed files with 3 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ CREATE TABLE `contacts` (
`changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`del` tinyint(1) NOT NULL DEFAULT '0',
`name` varchar(128) NOT NULL DEFAULT '',
`email` text NOT NULL DEFAULT '',
`email` text NOT NULL,
`firstname` varchar(128) NOT NULL DEFAULT '',
`surname` varchar(128) NOT NULL DEFAULT '',
`vcard` longtext NULL,