removed id attribute from photo model, primary key already established