Semaphore/db/sql/migrations/v1.4.0.sql
2021-11-10 13:28:10 +05:00

13 lines
371 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,
unique (`project_id`, `object_id`, `created`)
);
alter table `task` add `created` datetime null;
alter table `task` add `start` datetime null;
alter table `task` add `end` datetime null;