Commit 8dc5f7d
Changed files (1)
db
db/seeds.rb
@@ -4,19 +4,28 @@ program = Program.find_or_create_by!(name: Program::STRONG_LIFTS)
squat = Exercise.find_or_create_by!(name: "Squat")
bench_press = Exercise.find_or_create_by!(name: "Bench Press")
barbell_row = Exercise.find_or_create_by!(name: "Barbell Row")
-overhead_press = Exercise.find_or_create_by!(name: "Overhead Press")
-deadlift = Exercise.find_or_create_by!(name: "Deadlift")
dips = Exercise.find_or_create_by!(name: "Dips")
-chin_ups = Exercise.find_or_create_by!(name: "Chinups")
+paused_bench_press = Exercise.find_or_create_by!(name: "Paused Bench Press")
+planks = Exercise.find_or_create_by!(name: "Planks")
workout_a = program.routines.find_or_create_by(name: "A")
workout_a.add_exercise(squat, sets: 5, repetitions: 5)
workout_a.add_exercise(bench_press, sets: 5, repetitions: 5)
workout_a.add_exercise(barbell_row, sets: 5, repetitions: 5)
workout_a.add_exercise(dips, sets: 3, repetitions: 5)
+workout_a.add_exercise(paused_bench_press, sets: 3, repetitions: 5)
+#workout_a.add_exercise(planks, sets: 3, time: 60.seconds)
+
+overhead_press = Exercise.find_or_create_by!(name: "Overhead Press")
+deadlift = Exercise.find_or_create_by!(name: "Deadlift")
+chin_ups = Exercise.find_or_create_by!(name: "Chinups")
+pull_ups = Exercise.find_or_create_by!(name: "Pull Ups")
+close_grip_bench_press = Exercise.find_or_create_by!(name: "Close Grip Bench Press")
workout_b = program.routines.find_or_create_by(name: "B")
workout_b.add_exercise(squat, sets: 5, repetitions: 5)
workout_b.add_exercise(overhead_press, sets: 5, repetitions: 5)
workout_b.add_exercise(deadlift, sets: 1, repetitions: 5)
workout_b.add_exercise(chin_ups, sets: 3, repetitions: 5)
+workout_b.add_exercise(pull_ups, sets: 3, repetitions: 5)
+workout_b.add_exercise(close_grip_bench_press, sets: 3, repetitions: 5)