Changed type column to category as rails doesn't like type
setup seed.rb to populate the X-Type tables
run db:setup to populate