When is a FOREIGN KEY constraint created?