-573 TABLE table-name DOES NOT HAVE A UNIQUE KEY WITH THE SPECIFIED COLUMN NAMES
Explanation
A referential constraint cannot be defined with the specified table as the parent because a unique index with the specified column names does not exist for the identified parent table.
System action
The statement cannot be processed.
Programmer response
Create a unique index with the specified columns for the parent table.
SQLSTATE
42890