mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
Fix #93
This commit is contained in:
parent
977835f923
commit
2caa691ed6
@ -1,4 +1,7 @@
|
|||||||
alter table user change `created` `created` datetime not null default current_timestamp;
|
alter table user change `created` `created` datetime not null default current_timestamp;
|
||||||
alter table project change `created` `created` datetime not null default current_timestamp comment 'Created timestamp';
|
alter table project change `created` `created` datetime not null default current_timestamp comment 'Created timestamp';
|
||||||
alter table task change `created` `created` datetime not null default current_timestamp;
|
alter table task change `created` `created` datetime not null default current_timestamp;
|
||||||
alter table user__token change `created` `created` datetime not null default current_timestamp;
|
alter table user__token change `created` `created` datetime not null default current_timestamp;
|
||||||
|
|
||||||
|
alter table task drop foreign key `task_ibfk_1`;
|
||||||
|
alter table task add constraint `task_ibfk_1` foreign key (`template_id`) references `project__template` (`id`) on delete cascade;
|
Loading…
Reference in New Issue
Block a user