ERROR | could not add foreign key reference |
CAUSE | could not add a foreign key reference because of error in declaration. Either referenced table does not exist or table does not have an unique key. |
ACTION | make sure referenced table exists and/or has unique key |