added migration for photos, route, and view template