update sql creation script : add foreign key constraint