mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 21:51:21 +00:00

Most of the failing tests were failing due to changes in MySQL 5.7 default sql_mode and because of invalid timestamps ('0000-00-00')
15 lines
485 B
SQL
15 lines
485 B
SQL
DROP TABLE IF EXISTS `messages`;
|
|
CREATE TABLE `messages` (
|
|
`MID` int(20) NOT NULL default '0',
|
|
`TID` bigint(20) NOT NULL default '0',
|
|
`AUTHOR` varchar(32) NOT NULL default '',
|
|
`DATE` datetime NOT NULL default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
`INTERNAL` char(1) NOT NULL default '0',
|
|
`ISOPER` char(1) NOT NULL default '0',
|
|
`HEADERS` text NOT NULL,
|
|
`MSG` text NOT NULL,
|
|
PRIMARY KEY (`MID`),
|
|
UNIQUE KEY `ID` (`MID`),
|
|
KEY `TID` (`TID`)
|
|
) ENGINE=MyISAM;
|