Added SQL changes for review/checkin