Add pic_id sequence to exe.sql