Added script to add test data.

This commit is contained in:
GabePope
2022-07-15 22:47:05 +10:00
parent b4bda66742
commit e6613a4a4e
2 changed files with 22 additions and 0 deletions

22
migrations/InsertData.sql Normal file
View File

@@ -0,0 +1,22 @@
INSERT INTO Person (Name)
VALUES ("Gabe"),
("Michael");
INSERT INTO Excercise (Name)
VALUES ("Squat"),
("Bench"),
("Deadlift"),
("Hotep"),
("Lat Pulldown");
INSERT INTO Workout (PersonId, StartDate)
VALUES (1, "2022-06-29 00:00:00.000"),
(1, "2022-07-07 00:00:00.000"),
(1, "2022-07-12 00:00:00.000");
INSERT INTO TopSet (WorkoutId, ExcerciseId, Repetitions, Weight)
VALUES (1, 2, 11, 40),
(2, 1, 5, 65),
(2, 4, 6, 30),
(3, 2, 4, 60),
(3, 3, 9, 100);