Skip to content

Commit

Permalink
Fixes seed creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusbsilva committed May 13, 2017
1 parent 2e284d2 commit de89b08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

Classroom.create(name_classroom: "3G", shift_classroom: "Matutino")

Employee.create(name: 'Francois Dillinger', address: 'rua do ovo', phone: '6133213030',
permission: 'Principal', password: '12345678', birth_date: '10-10-1990',
registry: '123456', employee_cpf: '73117438262')
Principal.create!(name: 'Francois Dillinger', address: 'rua do ovo', phone: '6133213030',
password: '12345678', birth_date: '10-10-1990', gender:"Masculino",
registry: '123456', employee_cpf: '73117438262',shift:"Diurno")

Teacher.create(name: 'MC Love', address: 'rua do ovo', phone: '6133213030',
permission: 'Teacher', password: '12345678', birth_date: '10-10-1990',
Expand Down

0 comments on commit de89b08

Please sign in to comment.