CONN-1131 Update to sql script for correct fk reference