photos model, migration, controller, and model spec