X145: Key key not found when analyzing referential constraint.

One of the keys involved in a referential constraint is missing. You must create a key before you can refer to it in a FOREIGN KEY constraint.