Skip to content

Commit

Permalink
feat: update seeds - add email address to Mentors and ECTs
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyRet committed Jan 24, 2025
1 parent d2968ec commit 1ca8dac
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ def describe_user(user)
emma_thompson_mentoring_at_abbey_grove = MentorAtSchoolPeriod.create!(
teacher: emma_thompson,
school: abbey_grove_school,
email: '[email protected]',
started_on: 3.years.ago
).tap { |sp| describe_mentor_at_school_period(sp) }

Expand Down Expand Up @@ -248,6 +249,7 @@ def describe_user(user)
kate_winslet_ect_at_ackley_bridge = ECTAtSchoolPeriod.create!(
teacher: kate_winslet,
school: ackley_bridge,
email: '[email protected]',
started_on: 1.year.ago
).tap { |sp| describe_ect_at_school_period(sp) }

Expand All @@ -269,6 +271,7 @@ def describe_user(user)
hugh_laurie_mentoring_at_abbey_grove = MentorAtSchoolPeriod.create!(
teacher: hugh_laurie,
school: abbey_grove_school,
email: '[email protected]',
started_on: 2.years.ago
).tap { |sp| describe_mentor_at_school_period(sp) }

Expand All @@ -288,6 +291,7 @@ def describe_user(user)
alan_rickman_ect_at_ackley_bridge = ECTAtSchoolPeriod.create!(
teacher: alan_rickman,
school: ackley_bridge,
email: '[email protected]',
started_on: 2.years.ago
).tap { |sp| describe_ect_at_school_period(sp) }

Expand Down Expand Up @@ -325,6 +329,7 @@ def describe_user(user)
hugh_grant_ect_at_abbey_grove = ECTAtSchoolPeriod.create!(
teacher: hugh_grant,
school: abbey_grove_school,
email: '[email protected]',
started_on: 2.years.ago
).tap { |sp| describe_ect_at_school_period(sp) }

Expand Down Expand Up @@ -359,6 +364,7 @@ def describe_user(user)
jamie_parsons_ect_at_abbey_grove = ECTAtSchoolPeriod.create!(
teacher: jamie_parsons,
school: abbey_grove_school,
email: '[email protected]',
started_on: 2.years.ago
).tap { |sp| describe_ect_at_school_period(sp) }

Expand Down Expand Up @@ -438,6 +444,7 @@ def describe_user(user)
imogen_stubbs_at_malory_towers = ECTAtSchoolPeriod.create!(
teacher: imogen_stubbs,
school: mallory_towers,
email: '[email protected]',
started_on: 2.years.ago
).tap { |sp| describe_ect_at_school_period(sp) }

Expand Down Expand Up @@ -465,6 +472,7 @@ def describe_user(user)
gemma_jones_at_malory_towers = ECTAtSchoolPeriod.create!(
teacher: gemma_jones,
school: mallory_towers,
email: '[email protected]',
started_on: 21.months.ago
).tap { |sp| describe_ect_at_school_period(sp) }

Expand All @@ -484,6 +492,7 @@ def describe_user(user)
andre_roussimoff_mentoring_at_ackley_bridge = MentorAtSchoolPeriod.create!(
teacher: andre_roussimoff,
school: ackley_bridge,
email: '[email protected]',
started_on: 1.year.ago
).tap { |sp| describe_mentor_at_school_period(sp) }

Expand All @@ -498,6 +507,7 @@ def describe_user(user)
anthony_hopkins_ect_at_brookfield_school = ECTAtSchoolPeriod.create!(
teacher: anthony_hopkins,
school: brookfield_school,
email: '[email protected]',
started_on: 2.years.ago
).tap { |sp| describe_ect_at_school_period(sp) }

Expand All @@ -512,6 +522,7 @@ def describe_user(user)
john_withers_mentoring_at_abbey_grove = MentorAtSchoolPeriod.create!(
teacher: john_withers,
school: abbey_grove_school,
email: '[email protected]',
started_on: 2.years.ago
).tap { |sp| describe_mentor_at_school_period(sp) }

Expand Down

0 comments on commit 1ca8dac

Please sign in to comment.