Skip to content
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

add stub of a dbml importer #155

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

add stub of a dbml importer #155

wants to merge 6 commits into from

Conversation

sierra-moxon
Copy link
Member

@sierra-moxon sierra-moxon commented Jan 9, 2025

Simple schema automator implementation if DBML -> LinkML.

It would be nice to take a table with no FKs, a single column PK, and at least one descriptive column, and turn that into an enumeration instead of another class. But from the schema POV, we can't ascertain the content of the table in order to fill in the PVs. Also to add is mulit-column unique keys -> unique_keys in linkml.

but, this is a first step towards that support. pydbml looks pretty active and can translate DMBL -> SQL DDL as well.

@sierra-moxon sierra-moxon requested a review from turbomam January 10, 2025 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant