diff --git a/src/main/java/com/bib/essensbestellungsverwaltung/Database.java b/src/main/java/com/bib/essensbestellungsverwaltung/Database.java index 090b7d6..4cbc876 100644 --- a/src/main/java/com/bib/essensbestellungsverwaltung/Database.java +++ b/src/main/java/com/bib/essensbestellungsverwaltung/Database.java @@ -393,10 +393,34 @@ public class Database { VALUES('2','1','1','8');"""); sqls.add(""" INSERT OR IGNORE INTO food_selection ('id',childid,food_planid,foodid) - VALUES('3','2','2','5');"""); + VALUES('3','2','1','4');"""); sqls.add(""" INSERT OR IGNORE INTO food_selection ('id',childid,food_planid,foodid) - VALUES('4','2','2','7');"""); + VALUES('4','2','1','8');"""); + sqls.add(""" + INSERT OR IGNORE INTO food_selection ('id',childid,food_planid,foodid) + VALUES('5','1','2','5');"""); + sqls.add(""" + INSERT OR IGNORE INTO food_selection ('id',childid,food_planid,foodid) + VALUES('6','1','2','7');"""); + sqls.add(""" + INSERT OR IGNORE INTO food_selection ('id',childid,food_planid,foodid) + VALUES('7','2','2','5');"""); + sqls.add(""" + INSERT OR IGNORE INTO food_selection ('id',childid,food_planid,foodid) + VALUES('8','2','2','7');"""); + sqls.add(""" + INSERT OR IGNORE INTO food_selection ('id',childid,food_planid,foodid) + VALUES('9','1','3','4');"""); + sqls.add(""" + INSERT OR IGNORE INTO food_selection ('id',childid,food_planid,foodid) + VALUES('10','1','3','8');"""); + sqls.add(""" + INSERT OR IGNORE INTO food_selection ('id',childid,food_planid,foodid) + VALUES('11','2','3','4');"""); + sqls.add(""" + INSERT OR IGNORE INTO food_selection ('id',childid,food_planid,foodid) + VALUES('12','2','3','6');"""); try (Connection conn = connect(); Statement stmt = conn.createStatement()) { for (String sql : sqls) {