Updated seeds
This commit is contained in:
@@ -19,6 +19,10 @@ User.create!(email: "tutor.operator@hs-rm.de", firstname: "Tutor", lastname: "Op
|
|||||||
User.create!(email: "tutor2.operator@hs-rm.de", firstname: "Tutor2", lastname: "Operator", role: :operator, password_digest: BCrypt::Password.create("operator"), verified: true)
|
User.create!(email: "tutor2.operator@hs-rm.de", firstname: "Tutor2", lastname: "Operator", role: :operator, password_digest: BCrypt::Password.create("operator"), verified: true)
|
||||||
|
|
||||||
# Students
|
# Students
|
||||||
|
User.create!(email: "stud.student@student.hs-rm.de", firstname: "Student", lastname: "Student", password_digest: BCrypt::Password.create("stud"), verified: true)
|
||||||
|
User.create!(email: "stud2.student@student.hs-rm.de", firstname: "Student2", lastname: "Student", password_digest: BCrypt::Password.create("stud"), verified: true)
|
||||||
|
|
||||||
|
# Students with jobs
|
||||||
students = []
|
students = []
|
||||||
5.times do
|
5.times do
|
||||||
firstname = Faker::Name.unique.first_name
|
firstname = Faker::Name.unique.first_name
|
||||||
|
|||||||
Reference in New Issue
Block a user