Added model relationships and tweaked the migration for contests