feat/kindErstellen #9
@ -393,10 +393,34 @@ public class Database {
|
|||||||
VALUES('2','1','1','8');""");
|
VALUES('2','1','1','8');""");
|
||||||
sqls.add("""
|
sqls.add("""
|
||||||
INSERT OR IGNORE INTO food_selection ('id',childid,food_planid,foodid)
|
INSERT OR IGNORE INTO food_selection ('id',childid,food_planid,foodid)
|
||||||
VALUES('3','2','2','5');""");
|
VALUES('3','2','1','4');""");
|
||||||
sqls.add("""
|
sqls.add("""
|
||||||
INSERT OR IGNORE INTO food_selection ('id',childid,food_planid,foodid)
|
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()) {
|
try (Connection conn = connect(); Statement stmt = conn.createStatement()) {
|
||||||
for (String sql : sqls) {
|
for (String sql : sqls) {
|
||||||
|
Loading…
Reference in New Issue
Block a user