Commit 8a57326a by Arturo Montejo Ráez

Merge branch 'develop' of http://gitlab.ujaen.es/yotta/pictogram into develop

parents ba56ada0 5d85b1f8
Showing with 3 additions and 0 deletions
...@@ -117,6 +117,9 @@ INSERT INTO sup_off (id_sup, id_off) ...@@ -117,6 +117,9 @@ INSERT INTO sup_off (id_sup, id_off)
SELECT id, id_off SELECT id, id_off
FROM supervisor; FROM supervisor;
ALTER TABLE supervisor DROP COLUMN id_off;
ALTER TABLE student DROP COLUMN id_off;
ALTER TABLE stu_sup ALTER TABLE stu_sup
ADD CONSTRAINT `stu_sup_ibfk_1` FOREIGN KEY (`id_stu`) REFERENCES `student` (`id`); ADD CONSTRAINT `stu_sup_ibfk_1` FOREIGN KEY (`id_stu`) REFERENCES `student` (`id`);
ALTER TABLE stu_sup ALTER TABLE stu_sup
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment