Skip to content

Commit

Permalink
Merge origin/master
Browse files Browse the repository at this point in the history
  • Loading branch information
pHAlkaline committed May 26, 2018
2 parents dcd1412 + 23080a4 commit ba674cc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/Config/Schema/phkapa_structure_spa.sql
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ ALTER TABLE `phkapa_tickets`
ADD CONSTRAINT `phkapa_tickets_ibfk_14` FOREIGN KEY (`close_user_id`) REFERENCES `users` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_ibfk_15` FOREIGN KEY (`modified_user_id`) REFERENCES `users` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_ibfk_16` FOREIGN KEY (`supplier_id`) REFERENCES `phkapa_suppliers` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_ibfk_16` FOREIGN KEY (`customer_id`) REFERENCES `phkapa_customers` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_ibfk_17` FOREIGN KEY (`customer_id`) REFERENCES `phkapa_customers` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_ibfk_18` FOREIGN KEY (`safety_id`) REFERENCES `phkapa_safeties` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_ibfk_2` FOREIGN KEY (`type_id`) REFERENCES `phkapa_types` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_ibfk_3` FOREIGN KEY (`process_id`) REFERENCES `phkapa_processes` (`id`) ON UPDATE CASCADE,
Expand All @@ -636,7 +636,8 @@ ALTER TABLE `phkapa_tickets_revision`
ADD CONSTRAINT `phkapa_tickets_revision_ibfk_12` FOREIGN KEY (`close_user_id`) REFERENCES `users` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_revision_ibfk_13` FOREIGN KEY (`modified_user_id`) REFERENCES `users` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_revision_ibfk_14` FOREIGN KEY (`type_id`) REFERENCES `phkapa_types` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_revision_ibfk_15` FOREIGN KEY (`supplier_id`) REFERENCES `phkapa_suppliers` (`id`) ON UPDATE CASCADE, ADD CONSTRAINT `phkapa_tickets_revision_ibfk_16` FOREIGN KEY (`customer_id`) REFERENCES `phkapa_customers` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_revision_ibfk_15` FOREIGN KEY (`supplier_id`) REFERENCES `phkapa_suppliers` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_revision_ibfk_16` FOREIGN KEY (`customer_id`) REFERENCES `phkapa_customers` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_revision_ibfk_17` FOREIGN KEY (`safety_id`) REFERENCES `phkapa_safeties` (`id`) ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_revision_ibfk_2` FOREIGN KEY (`ticket_parent`) REFERENCES `phkapa_tickets` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `phkapa_tickets_revision_ibfk_4` FOREIGN KEY (`process_id`) REFERENCES `phkapa_processes` (`id`) ON UPDATE CASCADE,
Expand All @@ -647,6 +648,7 @@ ALTER TABLE `phkapa_tickets_revision`
ADD CONSTRAINT `phkapa_tickets_revision_ibfk_9` FOREIGN KEY (`origin_id`) REFERENCES `phkapa_origins` (`id`) ON UPDATE CASCADE;



SET FOREIGN_KEY_CHECKS=1;


Expand Down

0 comments on commit ba674cc

Please sign in to comment.