Create md_photo.php

model for photo table