Photos persist to the database, updated photos migration