Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.3, 2.0.4
-
Fix Version/s: 2.0.5
-
Component/s: None
-
Security Level: All
-
Labels:None
Description
Reference for PostgreSQL and MySQL is folloing:
ALTER TABLE "user_group" ADD FOREIGN KEY (user_id) REFERENCES user(id) NOT DEFERRABLE INITIALLY IMMEDIATE; ALTER TABLE "user_group" ADD FOREIGN KEY (group_id) REFERENCES group(id) NOT DEFERRABLE INITIALLY IMMEDIATE
Entity is quoted:
/**
* @Entity @Table(name="`user`")
*/
Fixed