mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-27 02:52:14 +01:00
15 lines
456 B
SQL
15 lines
456 B
SQL
alter table `event` rename to `event_backup_5784568`;
|
|
|
|
create table `event`
|
|
(
|
|
`id` integer primary key autoincrement,
|
|
`project_id` int,
|
|
`object_id` int,
|
|
`object_type` varchar(20) DEFAULT '',
|
|
`description` text,
|
|
`created` datetime NOT NULL,
|
|
`user_id` int,
|
|
foreign key (`project_id`) references `project` (`id`) on delete cascade,
|
|
foreign key (`user_id`) references `user` (`id`) on delete set null
|
|
);
|