mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-25 14:25:45 +01:00
18 lines
473 B
SQL
18 lines
473 B
SQL
CREATE TABLE `event` (
|
|
`project_id` int DEFAULT NULL,
|
|
`object_id` int DEFAULT NULL,
|
|
`object_type` varchar(20) DEFAULT '',
|
|
`description` text,
|
|
`created` datetime NOT NULL
|
|
);
|
|
|
|
CREATE INDEX `project_id` ON `event`(`project_id`);
|
|
|
|
CREATE INDEX `object_id` ON `event`(`object_id`);
|
|
|
|
CREATE INDEX `created` ON `event`(`created`);
|
|
|
|
alter table `task` add `created` datetime null;
|
|
alter table `task` add `start` datetime null;
|
|
alter table `task` add `end` datetime null;
|