More minor SQL changes
This commit is contained in:
parent
0051f4eedb
commit
0d0e3a0662
@ -198,20 +198,14 @@ CREATE TABLE `Student_Exemption` (
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
ALTER TABLE log ENGINE = InnoDB;
|
||||
ALTER TABLE log ADD KEY `FK1A344C1813915` (`project_id`);
|
||||
ALTER TABLE log ADD KEY `deleted_index` (`deleted`);
|
||||
ALTER TABLE log ADD CONSTRAINT `FK1A344C1813915` FOREIGN KEY (`project_id`) REFERENCES `project` (`id`);
|
||||
|
||||
ALTER TABLE log_entry ENGINE = InnoDB;
|
||||
ALTER TABLE log_entry ADD KEY `FK88028BB7E44F4DBE` (`creator_id`);
|
||||
ALTER TABLE log_entry ADD KEY `FK88028BB7AA87FAB5` (`log_id`);
|
||||
ALTER TABLE log_entry ADD CONSTRAINT `FK88028BB7AA87FAB5` FOREIGN KEY (`log_id`) REFERENCES `log` (`id`);
|
||||
ALTER TABLE log_entry ADD CONSTRAINT `FK88028BB7E44F4DBE` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`)
|
||||
ALTER TABLE log_entry ADD CONSTRAINT `FK88028BB7E44F4DBE` FOREIGN KEY (`creator_id`) REFERENCES `user` (`id`);
|
||||
|
||||
ALTER TABLE checklist_template_checklist_category ENGINE = InnoDB;
|
||||
ALTER TABLE checklist_category ENGINE = InnoDB;
|
||||
ALTER TABLE checklist_template_checklist_category ADD KEY `FK4E82F44372B51E82` (`checklist_template_id`);
|
||||
ALTER TABLE checklist_template_checklist_category ADD KEY `FK4E82F4438725F1D` (`categories_id`);
|
||||
ALTER TABLE checklist_template_checklist_category ADD CONSTRAINT `FK4E82F44372B51E82` FOREIGN KEY (`checklist_template_id`) REFERENCES `checklist_template` (`id`);
|
||||
ALTER TABLE checklist_template_checklist_category ADD CONSTRAINT `FK4E82F4438725F1D` FOREIGN KEY (`categories_id`) REFERENCES `checklist_category` (`id`);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user