INSERT INTO [User] ([id], [email], [name], [creation_datetime], [password], [validation_token_datetime], [validation_token])
VALUES (
    1,
    'paul@atreides.com',
    'Paul',
    '2025-01-07T10:41:05.697884837+00:00',
    '$argon2id$v=19$m=4096,t=4,p=2$l1fAMRc0VfkNzqpEfFEReg$/gsUsY2aML8EbKjPeCxucenxkxhiFSXDmizWZPLvNuo',
    0,
    NULL
);

INSERT INTO [User] ([id], [email], [name], [creation_datetime], [password], [validation_token_datetime], [validation_token])
VALUES (
    2,
    'alia@atreides.com',
    'Alia',
    '2025-01-07T10:41:05.697884837+00:00',
    '$argon2id$v=19$m=4096,t=3,p=1$1vtXcacYjUHZxMrN6b2Xng$wW8Z59MIoMcsIljnjHmxn3EBcc5ymEySZPUVXHlRxcY',
    0,
    NULL
);

INSERT INTO [Recipe] ([id], [user_id], [title], [is_published], [creation_datetime])
VALUES (1, 1, 'Croissant au jambon', true, '2025-01-07T10:41:05.697884837+00:00');

INSERT INTO [Recipe] ([id], [user_id], [title], [is_published], [creation_datetime], [servings], [estimated_time], [difficulty])
VALUES (2, 1, 'Gratin de thon aux olives', true, '2025-01-07T10:41:05.697884837+00:00', 4, 40, 1);

INSERT INTO [Recipe] ([id], [user_id], [title], [is_published], [creation_datetime])
VALUES (3, 1, 'Saumon en croute', true, '2025-01-07T10:41:05.697884837+00:00');

INSERT INTO [Recipe] ([id], [user_id], [title], [is_published], [creation_datetime])
VALUES (4, 2, 'Ouiche lorraine', true, '2025-01-07T10:41:05.697884837+00:00');


-- Groups, steps and ingredients for 'Gratin de thon'.
INSERT INTO [Group] ([id], [order], [recipe_id], [name], [comment])
VALUES (1, 1, 2, "Fond du gratin", "");

INSERT INTO [Group] ([id], [order], [recipe_id], [name], [comment])
VALUES (2, 2, 2, "Sauce", "");


INSERT INTO [Step] ([id], [order], [group_id], [action])
VALUES (1, 1, 1, "Égoutter et émietter dans un plat à gratting graissé");

INSERT INTO [Ingredient] ([id], [step_id], [name], [comment], [quantity_value], [quantity_unit])
VALUES (1, 1, "Thon en boîte", "", 240, "g");


INSERT INTO [Step] ([id], [order], [group_id], [action])
VALUES (2, 2, 1, "Saupoudrer");

INSERT INTO [Ingredient] ([id], [step_id], [name], [comment], [quantity_value], [quantity_unit])
VALUES (2, 2, "Sel à l'origan", "", 1, "c-à-c");


INSERT INTO [Step] ([id], [order], [group_id], [action])
VALUES (3, 3, 2, "Mélanger au fouet et verser sur le thon dans le plat");

INSERT INTO [Ingredient] ([id], [order], [step_id], [name], [comment], [quantity_value], [quantity_unit])
VALUES (3, 0, 3, "Concentré de tomate", "", 4, "c-à-s");

INSERT INTO [Ingredient] ([id], [order], [step_id], [name], [comment], [quantity_value], [quantity_unit])
VALUES (4, 1, 3, "Poivre", "", 0.25, "c-à-c");

INSERT INTO [Ingredient] ([id], [order], [step_id], [name], [comment], [quantity_value], [quantity_unit])
VALUES (5, 2, 3, "Herbe de Provence", "", 0.5, "c-à-c");

INSERT INTO [Ingredient] ([id], [order], [step_id], [name], [comment], [quantity_value], [quantity_unit])
VALUES (6, 3, 3, "Crème à café ou demi-crème", "", 2, "dl");

INSERT INTO [Ingredient] ([id], [order], [step_id], [name], [comment], [quantity_value], [quantity_unit])
VALUES (7, 4, 3, "Olives farcies coupées en deuxs", "", 50, "g");


INSERT INTO [Group] ([id], [order], [recipe_id], [name], [comment])
VALUES (3, 3, 2,
    "15 à 20 minutes de cuisson au four à 220 °C",
    "Servir avec du riz ou des patates robe des champs");