# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
#   Mayor.create(name: 'Emanuel', city: cities.first)

#Destroy everything
resources = ["Employment", "Mentorship", "Relationship", "Partner", "User", "Professional", "Student"]

resources.each do |resource|
  Object.const_get(resource).destroy_all
end

#Create an admin user
admin = User.create(email: "admin@codefellows.com", password: "password")
admin.confirm!
admin.update_attribute(:admin, true)

#Create some partners


#Create Some Students




Update seed file to create admin user
Update seed file to create admin user
