2016-04-16 21:42:57 +02:00
|
|
|
CREATE TABLE `event` (
|
|
|
|
`project_id` int(11) DEFAULT NULL,
|
|
|
|
`object_id` int(11) DEFAULT NULL,
|
|
|
|
`object_type` varchar(20) DEFAULT '',
|
|
|
|
`description` text,
|
2016-04-17 20:01:51 +02:00
|
|
|
`created` datetime(6) NOT NULL,
|
2016-04-16 21:42:57 +02:00
|
|
|
KEY `project_id` (`project_id`),
|
|
|
|
KEY `object_id` (`object_id`),
|
|
|
|
KEY `created` (`created`)
|
2016-04-17 02:20:23 +02:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
|
2016-04-29 09:33:08 +02:00
|
|
|
alter table task add `created` datetime not null,
|
2016-04-17 02:20:23 +02:00
|
|
|
add `start` datetime null,
|
|
|
|
add `end` datetime null;
|