Semaphore/db/sql/migrations/v1.4.0.sql

13 lines
371 B
MySQL
Raw Normal View History

CREATE TABLE `event` (
2020-11-28 22:49:44 +01:00
`project_id` int DEFAULT NULL,
`object_id` int DEFAULT NULL,
`object_type` varchar(20) DEFAULT '',
`description` text,
2021-11-10 09:28:10 +01:00
`created` datetime NOT NULL,
unique (`project_id`, `object_id`, `created`)
2020-11-28 22:49:44 +01:00
);
alter table `task` add `created` datetime null;
alter table `task` add `start` datetime null;
alter table `task` add `end` datetime null;