When I'm updating the base app I'm getting this error - ERROR: there is no unique constraint matching given keys for referenced table "mail_message".
for that i have execute this query too,
Query : ALTER TABLE "mail_tracking_value" ADD FOREIGN KEY ("mail_message_id") REFERENCES "mail_message"("id") ON DELETE cascade;
but I'm still facing the ERROR: there is no unique constraint matching given keys for referenced table "mail_message"
In odoo14 the object mail.tracking.value has the foreign key which is mail_message_id of mail.the message,but it not granted this.