Modifed the User model so that it no longer references Job Position.
Restored original user table migration, wrote migrations to create people table, create pivot table between people and job positions, rename positions to job_positions so that its meaning is clearer, add a gender field to the people table and add timestamps to the job_positions table so they work in Eloquent queries without too much fuss.
Added seeding classes so that the generated user has a password set (password), and 2 new people and 2 new job positions are added to the database and assigned.
…se tables.
Modifed the User model so that it no longer references Job Position.
Restored original user table migration, wrote migrations to create people table, create pivot table between people and job positions, rename positions to job_positions so that its meaning is clearer, add a gender field to the people table and add timestamps to the job_positions table so they work in Eloquent queries without too much fuss.
Added seeding classes so that the generated user has a password set (password), and 2 new people and 2 new job positions are added to the database and assigned.