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 Foreign Keys to the tables #8

Open
danielvanmil opened this issue Dec 29, 2020 · 2 comments
Open

Add Foreign Keys to the tables #8

danielvanmil opened this issue Dec 29, 2020 · 2 comments

Comments

@danielvanmil
Copy link

Foreign Keys are commented, what's the reason for this? (it can be very handy when using graphql tools like Hasura etc.)

@clrnd
Copy link
Owner

clrnd commented Dec 30, 2020

I don't remember why, I think it was because if we have FKs then we need to insert things in order, I think you can just add them after importing, did you try that?

@clrnd
Copy link
Owner

clrnd commented Dec 30, 2020

Wait indexes already are meant to be run afterwards. They are commented because some entries don't respect them. Feel free to tinker around with any index combination you like and submit a PR!

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

No branches or pull requests

2 participants