Exception: Error executing DDL: “alter table add Constraint FK8rfwvqdfqjy3qa8v0ntw9bn9 foreign key” via JDBC Statement
Let's break down the possible reasons for this error with examples and explanations. Suppose you have two tables in your database: 1.history_comments 2. history_tasks You want to add a foreign…