-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated test data sql script for demonstration
- Loading branch information
Showing
1 changed file
with
54 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,63 @@ | ||
-- Users | ||
insert into UserAccount (firstname, lastname, height, birthdate, username, `password`, email) values | ||
('Clarabelle', 'Sissel', 191.7, date('1970-3-22'), 'csissel0', 'yolopass', 'csissel0@jugem.jp'), | ||
('Coletta', 'Gerner', 154.19, date('1979-10-3'), 'cgerner1', 'cryptated69', 'cgerner1@tinyurl.com'), | ||
('Keith', 'Bottrell', 170.23, date('1989-5-27'), 'kbottrell2', 'let$Hack1337', 'kbottrell2@ftc.gov'), | ||
('Garth', 'Fotheringham', 178.48, date('1997-6-8'), 'gfotheringham3', 'who_d1d_dis', 'gfotheringham3@weebly.com'), | ||
('Greg', 'Leversuch', 180.29, date('1975-12-7'), 'gleversuch4', 'supersecret123','gleversuch4@samsung.com'); | ||
('Test', 'Testesen', 169, date('1994-4-6'), 'test', '$pbkdf2-sha512$10000$ifVmM4ne5CtGGYoCTvdXcSvZAGHZIB2/Meax67ecN6Y=$e3V+9IXhTTRVNN0rEq4E+fkTUSi5/58Cie7X9mZ+VdX7kweX7pIeQIjcjrM15e9zSjBK7ff4qL3u9tr0aryR7QCTgP8ePUPAUA2WMolAhz7emQkPxCyjtNVMVEJYv3pOG+8QHtXmlTjCe3VmKTl0V5Iam9RqIEGKPaGxlM3Lq6Fo5jiOU05MT4x3H2BaPDTt7Z4F9mYzPVvazc19Xxuwe4L+ev1DfwdR8BWGeu0SgitMWc1OTkMoW1bbS3FqR9fKh1q73vfdonbPQxARSimG7CdQjOzZlugVTvHiRr5hXA/KjFC+JqZTeXquU7Z3pCBwubOfg0ztzee5KU3SoZp8Sg==', 'test@improvify.no'), | ||
('Clarabelle', 'Sissel', 191.7, date('1970-3-22'), 'csissel0', 'yolopass', 'csissel0@jugem.jp'), | ||
('Coletta', 'Gerner', 154.19, date('1979-10-3'), 'cgerner1', 'cryptated69', 'cgerner1@tinyurl.com'), | ||
('Keith', 'Bottrell', 170.23, date('1989-5-27'), 'kbottrell2', 'let$Hack1337', 'kbottrell2@ftc.gov'), | ||
('Garth', 'Fotheringham', 178.48, date('1997-6-8'), 'gfotheringham3', 'who_d1d_dis', 'gfotheringham3@weebly.com'), | ||
('Greg', 'Leversuch', 180.29, date('1975-12-7'), 'gleversuch4', 'supersecret123','gleversuch4@samsung.com'); | ||
|
||
-- Weight | ||
insert into Weight values | ||
(1, 105.0, date('2018-1-3'), 1), | ||
(2, 103.7, date('2018-1-4'), 1), | ||
(3, 103.4, date('2018-1-11'), 1), | ||
(4, 102.8, date('2018-1-12'), 1), | ||
(5, 97.3, date('2018-1-18'), 1), | ||
(6, 95.4, date('2018-1-21'), 1), | ||
(7, 99.1, date('2018-1-25'), 1), | ||
(8, 94.6, date('2018-2-1'), 1), | ||
(9, 90.2, date('2018-2-2'), 1), | ||
(10, 94.0, date('2018-2-6'), 1); | ||
insert into Weight (currentweight, date, measuredBy) values | ||
(90, date('2018-1-1'), 1), | ||
(87, date('2018-1-15'), 1), | ||
(85, date('2018-1-30'), 1), | ||
(83, date('2018-2-8'), 1), | ||
(85, date('2018-2-22'), 1), | ||
(84, date('2018-3-10'), 1), | ||
(80, date('2018-3-25'), 1), | ||
(81, date('2018-4-2'), 1), | ||
(79, date('2018-4-20'), 1), | ||
(75, date('2018-5-17'), 1); | ||
|
||
-- WorkoutPlan | ||
insert into RestingHeartRate values | ||
(0, 76, date('2018-1-3'), 1), | ||
(1, 75, date('2018-1-6'), 1), | ||
(2, 73, date('2018-1-9'), 1), | ||
(3, 74, date('2018-1-14'), 1), | ||
(4, 69, date('2018-1-17'), 1), | ||
(5, 68, date('2018-1-21'), 1), | ||
(6, 70, date('2018-1-25'), 1), | ||
(7, 66, date('2018-2-1'), 1), | ||
(8, 65, date('2018-2-2'), 1), | ||
(9, 65, date('2018-2-6'), 1); | ||
|
||
-- WorkoutSession | ||
insert into WorkoutSession values | ||
(1, 5, timestamp("2018-1-2", "13:43:53"), 368.5, 155, 167, 5, 1), | ||
(2, 7, timestamp("2018-1-6", "14:20:34"), 414.7, 167, 183, 12, 2), | ||
(3, 8, timestamp("2018-2-10", "18:32:24"), 400.5, 170, 185, 10, 1), | ||
(4, 2, timestamp("2018-2-14", "15:36:59"), 213.8, 140, 166, 4, 2); | ||
|
||
INSERT INTO serviceprovider VALUES (1, "Gavin Belson"), | ||
(2, "Amanda Crew"), | ||
(3, "Richie Kendrichs"), | ||
(4, "Gabe Jenssen"), | ||
(5, "Kristian Fossnes"), | ||
(6, "Pål Rekstad"), | ||
(7, "Kåre smaråd"), | ||
(8, "Amanda volda"), | ||
(9, "Rick Roll"); | ||
insert into RestingHeartRate (heartrate, date, measuredBy) values | ||
(76, date('2018-1-3'), 1), | ||
(75, date('2018-1-6'), 1), | ||
(73, date('2018-1-9'), 1), | ||
(74, date('2018-1-14'), 1), | ||
(69, date('2018-1-17'), 1), | ||
(68, date('2018-1-21'), 1), | ||
(70, date('2018-1-25'), 1), | ||
(66, date('2018-2-1'), 1), | ||
(65, date('2018-2-2'), 1), | ||
(65, date('2018-2-6'), 1), | ||
(70, date('2018-2-10'), 1), | ||
(72, date('2018-3-15'), 1), | ||
(72, date('2018-3-22'), 1), | ||
(70, date('2018-3-30'), 1), | ||
(68, date('2018-4-17'), 1), | ||
(69, date('2018-4-21'), 1), | ||
(67, date('2018-4-25'), 1), | ||
(66, date('2018-5-1'), 1), | ||
(65, date('2018-5-2'), 1), | ||
(66, date('2018-5-17'), 1); | ||
|
||
INSERT INTO Goal VALUES (1, "kort beskrivelse", 0, 1, 1), | ||
(2, "kort beskrivelse crew", 0, 1, 1), | ||
(3, "kort beskrivelse kendrich", 0, 1, 1), | ||
(4, "kortere mål", 0, 1, 1), | ||
(5, "rew er et mål", 0, 1, 1), | ||
(6, "endrich", 0, 1, 1), | ||
(7, "kjapt mål", 0, 1, 1), | ||
(8, "langsiktig", 0, 1, 1), | ||
(9, "svada", 0, 1, 1); | ||
|
||
INSERT INTO improvifytrainer VALUES (1, "lifecoach", 1, 1, 1), | ||
(2, "coacher", 2, 2, 2), | ||
(3, "sexcoach", 3, 3, 3), | ||
(4, "manspalincoach", 4, 4, 4), | ||
(5, "poachercoacher", 5, 5, 5), | ||
(6, "sexual intercourse coach", 6, 6, 6), | ||
(7, "humanlifecoach", 7, 7, 7), | ||
(8, "kamasutracoacher", 8, 8, 8), | ||
(9, "sprintcoach", 9, 9, 9); | ||
-- WorkoutSession | ||
insert into WorkoutSession (intensity, startTime, KCal, AvgHeartRate, MaxHeartRate, DistanceRun, durationSeconds, loggedBy) values | ||
(5, timestamp("2018-1-2", "13:43:53"), 368.5, 155, 167, 5, 3600, 1), | ||
(7, timestamp("2018-1-6", "14:20:34"), 414.7, 167, 183, 12, 2700, 1), | ||
(8, timestamp("2018-2-10", "18:32:24"), 400.5, 170, 185, 10, 1800, 1), | ||
(2, timestamp("2018-2-14", "15:36:59"), 213.8, 140, 166, 4, 5400, 1); | ||
|
||
INSERT INTO workoutplan VALUES (1, 3, 1, 1, 1, 1), | ||
(2, 3, 2, 2, 2, 2), | ||
(3, 6, 3, 3, 3, 3), | ||
(4, 3, 4, 4, 4, 4), | ||
(5, 3, 5, 5, 5, 5), | ||
(6, 6, 6, 6, 6, 6), | ||
(7, 3, 7, 7, 7, 7), | ||
(8, 3, 8, 8, 8, 8), | ||
(9, 6, 9, 9, 9, 9); | ||
-- Serviceprovider | ||
INSERT INTO serviceprovider (Name) VALUES ("improvify"); | ||
|
||
INSERT INTO periodplan VALUES (1, '2018-06-06, 10:34:00', '2018-06-06, 10:34:00', '2018-06-06, 10:54:00', 1, 1, 1), | ||
(2, '2018-06-06, 10:34:00', '2018-06-06, 10:34:00', '2018-06-06, 10:54:00', 2, 2, 2), | ||
(3, '2018-06-06, 11:34:00', '2018-06-06, 11:34:00', '2018-06-06, 11:54:00', 3, 3, 3), | ||
(4, '2018-06-06, 23:34:00', '2018-06-06, 23:34:00', '2018-06-06, 23:54:00', 4, 4, 4), | ||
(5, '2018-06-06, 20:34:00', '2018-06-06, 20:34:00', '2018-06-06, 20:54:00', 5, 5, 5), | ||
(6, '2018-06-06, 19:34:00', '2018-06-06, 19:34:00', '2018-06-06, 19:54:00', 6, 6, 6), | ||
(7, '2018-06-06, 17:34:00', '2018-06-06, 17:34:00', '2018-06-06, 17:54:00', 7, 7, 7), | ||
(8, '2018-06-06, 15:34:00', '2018-06-06, 15:34:00', '2018-06-06, 15:54:00', 8, 8, 8), | ||
(9, '2018-06-06, 12:34:00', '2018-06-06, 12:34:00', '2018-06-06, 12:54:00', 9, 9, 9); | ||
|
||
|
||
-- Serviceproviderpermission | ||
INSERT INTO serviceproviderpermissions (ServiceProvider_id, UserAccount_id, Weight, Height, Email, Name, Username, RestingHeartRate, WorkoutSession, Birthdate) VALUES | ||
(1, 1, 1, 1, 1, 1, 1, 1, 1, 1), | ||
(1, 2, 1, 1, 1, 1, 1, 1, 1, 1), | ||
(1, 3, 1, 1, 1, 1, 1, 1, 1, 1), | ||
(1, 4, 1, 1, 1, 1, 1, 1, 1, 1), | ||
(1, 5, 1, 1, 1, 1, 1, 1, 1, 1), | ||
(1, 6, 1, 1, 1, 1, 1, 1, 1, 1); |