make it work with latest update script

This commit is contained in:
Uwe Steinmann 2013-02-20 09:45:03 +01:00
parent a3f9b1d672
commit d30a74485a

View File

@ -1,19 +1,14 @@
-- mysql -uyouruser -pyourpassword yourdb < update.sql
-- this script must be executed when updating form a version < 2.0
START TRANSACTION;
-- --------------------------------------------------------
--
-- Table structure for events (calendar)
--
CREATE TABLE `tblEvents` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(150) default NULL,
`comment` text,
`start` int(12) default NULL,
CREATE TABLE `tblEvents` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(150) default NULL,
`comment` text,
`start` int(12) default NULL,
`stop` int(12) default NULL,
`date` int(12) default NULL,
`userID` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) ;
`date` int(12) default NULL,
`userID` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
COMMIT;