From 48b93d245b3a7b1bf43cb9c60f6bd8773839f231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aslak=20Storr=C3=B8?= Date: Fri, 30 Nov 2018 17:34:28 +0200 Subject: [PATCH] #49 check for bugs --- MuscleWeb/database.sql | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/MuscleWeb/database.sql b/MuscleWeb/database.sql index cfba817..a294b94 100644 --- a/MuscleWeb/database.sql +++ b/MuscleWeb/database.sql @@ -487,6 +487,7 @@ INSERT INTO tbl_arteries VALUES(129,'R. frontalis arteriae temporalis superficia INSERT INTO tbl_arteries VALUES(130,'R. parietalis arteriae temporalis superficialis','Parietal branch of superficial temporal artery',128); INSERT INTO tbl_arteries VALUES(135,'R. collateralis arteriae intercostales posteriores','Collateral branch of posterior intercostal arteries',114); INSERT INTO tbl_arteries VALUES(136,'R. dorsalis arteriae intercostales posteriores ','Dorsal branch of posterior intercostal arteries',114); +INSERT INTO tbl_arteries VALUES(137,'A. Penilis injectus','Injectiable penis artery',3); CREATE TABLE tbl_musclegroups (id integer NOT NULL PRIMARY KEY AUTOINCREMENT, name text NOT NULL, lat_name text NOT NULL, parent_id INTEGER, explanation TEXT, FOREIGN KEY (parent_id) REFERENCES tbl_musclegroups (id)); INSERT INTO tbl_musclegroups VALUES(126,'Muscles of the head','Mm. capitis',NULL,'Includes masticatoy and mimetic muscles, 1st and 2nd visceral arch'); INSERT INTO tbl_musclegroups VALUES(127,'Muscles of the neck','Mm. colli',NULL,NULL); @@ -818,6 +819,7 @@ INSERT INTO tbl_muscles VALUES(196,'M. rectus capitis posterior minor','Minor re INSERT INTO tbl_muscles VALUES(197,'M. rectus capitis posterior major','Major rectus capitis posterior muscle','Proc. spinosus axis','Linea nuchalis inferior','Extention of head, turns head to the same side (unilateral contraction)','0',0,0,'.png','N/A','0',197); INSERT INTO tbl_muscles VALUES(198,'M. obliquus capitis inferior','Inferior obliquus capitis muscle ','Proc. spinosus axis','Proc. transversus atlantis ','Rotation of head on the same side (unilateral contraction)','0',0,0,'.png','N/A','0',197); INSERT INTO tbl_muscles VALUES(199,'M. obliquus capitis superior','Superior obliquus capitis muscle','Proc. transversus atlantis','Linea nuchae inferior','Extention of head (bilateral contraction) lateral flexion of head (unilateral contraction)','0',0,0,'.png','N/A','0',197); +INSERT INTO tbl_muscles VALUES(200,'M. Analis pectoralis ','Pectoral anus muscle','spincter ani externi','spincter ani interni','Raises anus aand make it ready for penile injection','0',0,0,'.png','N/A','0',132); CREATE TABLE tbl_link_arteries (id INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, muscle_id INTEGER, artery_id INTEGER); INSERT INTO tbl_link_arteries VALUES(15,1,1); INSERT INTO tbl_link_arteries VALUES(16,2,9); @@ -1045,6 +1047,7 @@ INSERT INTO tbl_link_arteries VALUES(240,198,106); INSERT INTO tbl_link_arteries VALUES(241,198,126); INSERT INTO tbl_link_arteries VALUES(242,199,106); INSERT INTO tbl_link_arteries VALUES(243,199,126); +INSERT INTO tbl_link_arteries VALUES(244,200,137); CREATE TABLE tbl_link_veins (id INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, muscle_id INTEGER, vein_id INTEGER); INSERT INTO tbl_link_veins VALUES(1,1,2); INSERT INTO tbl_link_veins VALUES(2,2,0); @@ -1388,12 +1391,12 @@ INSERT INTO tbl_link_nerves VALUES(168,174,0); INSERT INTO tbl_link_nerves VALUES(169,175,0); INSERT INTO tbl_link_nerves VALUES(170,176,0); DELETE FROM sqlite_sequence; -INSERT INTO sqlite_sequence VALUES('tbl_arteries',136); +INSERT INTO sqlite_sequence VALUES('tbl_arteries',137); INSERT INTO sqlite_sequence VALUES('tbl_musclegroups',197); INSERT INTO sqlite_sequence VALUES('tbl_nerves',42); INSERT INTO sqlite_sequence VALUES('tbl_veins',7); -INSERT INTO sqlite_sequence VALUES('tbl_muscles',199); -INSERT INTO sqlite_sequence VALUES('tbl_link_arteries',243); +INSERT INTO sqlite_sequence VALUES('tbl_muscles',200); +INSERT INTO sqlite_sequence VALUES('tbl_link_arteries',244); INSERT INTO sqlite_sequence VALUES('tbl_nerves',42); INSERT INTO sqlite_sequence VALUES('tbl_arteries',38); INSERT INTO sqlite_sequence VALUES('tbl_link_veins',170);