Added more timeslots to test data
continuous-integration/drone/push Build is passing Details

main
Filip Borum Poulsen 3 years ago
parent 8d3e683402
commit d200178634

@ -48,9 +48,16 @@ RETURNING id, user_id;
const weekly_timeslots = await client.query(`
INSERT INTO weekly_timeslots (trainer_id, day_of_week, start_time, end_time) VALUES
($1, 1, '8:00:00', '9:00:00'),
($1, 1, '9:00:00', '10:00:00'),
($1, 1, '10:00:00', '11:00:00'),
($1, 1, '11:00:00', '12:00:00'),
($1, 1, '12:00:00', '13:00:00'),
($1, 1, '13:00:00', '14:00:00'),
($1, 1, '14:00:00', '15:00:00'),
($1, 2, '10:00:00', '13:00:00'),
($1, 3, '10:00:00', '15:00:00'),
($1, 3, '16:00:00', '17:00:00'),
($1, 4, '10:00:00', '11:30:00'),
($2, 1, '10:00:00', '11:00:00'),
($2, 1, '11:00:00', '12:00:00'),
@ -93,6 +100,7 @@ RETURNING id;
]);
client.end();
process.exit(0);
}
main();
Loading…
Cancel
Save