X-Git-Url: http://git.euphorik.ch/?p=recipes.git;a=blobdiff_plain;f=backend%2Fsql%2Fdata_test.sql;fp=backend%2Fsql%2Fdata_test.sql;h=c5fe2306be46644cd5845d2c687b39010b3c453b;hp=0000000000000000000000000000000000000000;hb=5e4e0862477f46a6ea477a56f01fd84e720a9546;hpb=855eb169737848e21061e637a8d562ccc33c58e8 diff --git a/backend/sql/data_test.sql b/backend/sql/data_test.sql new file mode 100644 index 0000000..c5fe230 --- /dev/null +++ b/backend/sql/data_test.sql @@ -0,0 +1,18 @@ +INSERT INTO [User] ([id], [email], [name], [password], [creation_datetime], [validation_token]) +VALUES ( + 1, + 'paul@test.org', + 'paul', + '$argon2id$v=19$m=4096,t=3,p=1$1vtXcacYjUHZxMrN6b2Xng$wW8Z59MIoMcsIljnjHmxn3EBcc5ymEySZPUVXHlRxcY', + 0, + NULL +); + +INSERT INTO [Recipe] ([user_id], [title]) +VALUES (1, 'Croissant au jambon'); + +INSERT INTO [Recipe] ([user_id], [title]) +VALUES (1, 'Gratin de thon aux olives'); + +INSERT INTO [Recipe] ([user_id], [title]) +VALUES (1, 'Saumon en croute');