updated schema to remove the img details table and move that data to the
img_fname table. regenerated code also with new schema.