diff --git a/initialdata b/initialdata index 70e21a7..a127a07 100644 --- a/initialdata +++ b/initialdata @@ -16,7 +16,7 @@ INSERT INTO Cookie(name) VALUES ('Almond delight'), ('Berliner'); -INSERT INTO Ingredient(name, stock, unit) VALUES +INSERT INTO Ingredient(ingredient_name, stock, unit) VALUES ('Bread crumbs', 500000, 'g'), ('Butter', 500000, 'g'), ('Chocolate', 500000, 'g'), @@ -37,10 +37,11 @@ INSERT INTO Ingredient(name, stock, unit) VALUES ('Vanilla', 500000, 'g'), ('Wheat flour', 500000, 'g'); -INSERT INTO Recipe (ingredient_id, cookie_id, amount) VALUES - (2, 1, 450),(9, 1, 450),(11, 1, 190),(14, 1, 225), - (2, 2, 125),(3, 2, 50),(6, 2, 350),(8, 2, 750),(10, 2, 625),(16, 2, 375), - (2, 3, 250),(7, 3, 250),(12, 3, 750),(13, 3, 25),(19, 3, 25), - (2, 4, 200),(9, 4, 300),(15, 4, 4),(16, 4, 250),(18, 4, 2), - (2, 5, 400),(4, 5, 279),(5, 5, 10),(9, 5, 400),(16, 5, 270), - (2, 6, 250),(3, 6, 50),(7, 6, 50),(9, 6, 350),(11, 6, 100),(17, 6, 5); +INSERT INTO Recipe (ingredient_name, cookie_name, amount) VALUES + ('Butter', 'Nut ring', 450),('Flour', 'Nut ring', 450),('Icing sugar', 'Nut ring', 190),('Roasted, chopped nuts', 'Nut ring', 225), + ('Bread crumbs', 'Nut cookie', 125),('Chocolate', 'Nut cookie', 50),('Egg whites', 'Nut cookie', 350),('Fine-ground nuts', 'Nut cookie', 750),('Ground, roasted nuts', 'Nut cookie', 625),('Sugar', 'Nut cookie', 375), + ('Butter', 'Amneris', 250),('Eggs', 'Amneris', 250),('Marzipan', 'Amneris', 750),('Potato starch', 'Amneris', 25),('Wheat flour', 'Amneris', 25), + ('Butter', 'Tango', 200),('Flour', 'Tango', 300),('Sodium bicarbonate', 'Tango', 4),('Sugar', 'Tango', 250),('Vanilla', 'Tango', 2), + ('Butter', 'Almond delight', 400),('Chopped almonds', 'Almond delight', 279),('Cinnamon', 'Almond delight', 10),('Flour', 'Almond delight', 400),('Sugar', 'Almond delight', 270), + ('Butter', 'Berliner', 250),('Chocolate', 'Berliner', 50),('Eggs', 'Berliner', 50),('Flour', 'Berliner', 350),('Icing sugar', 'Berliner', 100),('Vanilla sugar', 'Berliner', 5); +