Redesigned schema to conform more closely to the PDF format:

rails destroy Term
rails destroy Dept
rails destroy Course
rails destroy Section
rails destroy Instructor

rails generate scaffold term year:integer season:integer publication:date section:references
rails generate scaffold department name:string:uniq subject:references instructor:references
rails generate scaffold subject short_name:string:uniq long_name:string:uniq department:belongs_to course:references
rails generate scaffold course name:string:uniq description:string units:decimal subject:belongs_to
rails generate scaffold section number:integer course:belongs_to term:belongs_to instructor:references a:integer b:integer c:integer d:integer f:integer ip:integer ix:integer np:integer p:integer w:integer
rails generate scaffold instructor short_name:string rmp_id:integer:uniq last_name:string first_name:string dept:belongs_to

rake db:migrate:reset