Change default value for datetime fields to valid range
This commit is contained in:
parent
a5fc5bd097
commit
b1af1f9cc2
|
@ -205,7 +205,7 @@ DROP TABLE IF EXISTS `NewsComments`;
|
||||||
CREATE TABLE `NewsComments` (
|
CREATE TABLE `NewsComments` (
|
||||||
`ID` bigint(11) NOT NULL,
|
`ID` bigint(11) NOT NULL,
|
||||||
`Refid` int(11) NOT NULL DEFAULT '0',
|
`Refid` int(11) NOT NULL DEFAULT '0',
|
||||||
`Datum` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
`Datum` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
|
||||||
`Text` text NOT NULL,
|
`Text` text NOT NULL,
|
||||||
`UID` int(11) NOT NULL DEFAULT '0'
|
`UID` int(11) NOT NULL DEFAULT '0'
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
@ -395,7 +395,7 @@ CREATE TABLE `User` (
|
||||||
`Sprache` char(64) NOT NULL,
|
`Sprache` char(64) NOT NULL,
|
||||||
`Menu` char(1) NOT NULL DEFAULT 'L',
|
`Menu` char(1) NOT NULL DEFAULT 'L',
|
||||||
`lastLogIn` int(11) NOT NULL,
|
`lastLogIn` int(11) NOT NULL,
|
||||||
`CreateDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
`CreateDate` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
|
||||||
`Art` varchar(30) DEFAULT NULL,
|
`Art` varchar(30) DEFAULT NULL,
|
||||||
`kommentar` text,
|
`kommentar` text,
|
||||||
`Hometown` varchar(255) NOT NULL DEFAULT '',
|
`Hometown` varchar(255) NOT NULL DEFAULT '',
|
||||||
|
|
Loading…
Reference in New Issue