-
Notifications
You must be signed in to change notification settings - Fork 31
Error during execute custom command with two relateds tables #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello @gegonzalez07 , Please pass the DDL for Category and Worker table. Thanks |
Thank you for responding so quickly Category table
Worker table
|
Hello @gegonzalez07 This seems to be a bug, i.e your DDL have CamelCase columns and I guess somewhere we dont honor the camelcase. If you look at the below debug
The query executed is all lowercase.
Changing the DDL id column to lower case, seems to work.
I will get that fixed. Thanks for reporting the bug |
Thanks a loot for your answer. |
I have two tables, Category and Worker (with one to many relations) I could generate Category without issue, but generate Worker throw ¨violates foraign key constraint¨. How i could handle ¨category¨ foreign key in Worker table?
The text was updated successfully, but these errors were encountered: