-
Notifications
You must be signed in to change notification settings - Fork 181
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
Support composite foreign keys #90
Conversation
- Add buildFieldName to export/utils to create foreign key field name string for all export types
…ude composite foreign key test
- Remove fieldId prop from endpoint and modify model_structure test
- Remove cool_order from model_exporter tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix eslint errors first @wingombia .
oops, I forgot to push the latest commits where I fixed these. Edit: I have pushed the lastest commits that fix the problems stated in your comments. |
- Change DBML Parser to properly parse inline_refs fieldNames to array. - Apply ESlint to previously changed files. - Change fieldNames in JSON test files to array.
packages/dbml-core/__tests__/parser/schemarb-parse/output/schema4.out.json
Outdated
Show resolved
Hide resolved
packages/dbml-core/__tests__/parser/schemarb-parse/output/schema4.out.json
Outdated
Show resolved
Hide resolved
…parsing fieldNames and a few other minor things
Summary
products.(id, name) < order_items.(product_id, product_name).
Issue
Lasting Changes (Technical)
Checklist
Please check directly on the box once each of these are done