-
The problem:
My workflow:
What I want under the product class:
What is happening:
SQL code for the tables:
Classes generated by SQLacodegen:
How it is supposed to be:
|
Beta Was this translation helpful? Give feedback.
Answered by
vickmu
Jun 30, 2022
Replies: 1 comment
-
The parent-child relationship is determined based on the order of table names in the database. The table names are alphabetically sorted in the database. In this instance, the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
vickmu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The parent-child relationship is determined based on the order of table names in the database. The table names are alphabetically sorted in the database. In this instance, the
Product
is coming beforeRelated
, therefore, theProduct
is the parent ofRelated
. However, sinceFeature
comes beforeProduct
, the former is bein defined as the parent of the latter.