dbml
dbml copied to clipboard
Support shorthand foreign key references
Summary
- Support shorthand
foreign key referencessyntax in PostgreSQL/MSSQL - Fix: missing constraint names when importing from PostgreSQL/MSSQL
foreign keysto DBML'srefs
Issue
- https://community.dbdiagram.io/t/feature-request-add-foreign-key-constraints-support-to-dbml-conversion-from-sql-file/1454/5
Lasting Changes (Technical)
- Update
setFieldsmethod inEndpointclass - Add constraint names to DBML's
refs - Update testcases
Checklist
Please check directly on the box once each of these are done
- [ ] Documentation (if necessary)
- [x] Tests (integration test/unit test)
- [ ] Integration Tests Passed
- [ ] Code Review