-
Notifications
You must be signed in to change notification settings - Fork 697
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
Defer Foreign references during creation #384
Labels
Comments
Just ran into this my self. |
Tapac
added a commit
that referenced
this issue
Sep 20, 2018
Fixed in master. Now it's possible to create cycle-referenced tables. |
Awesome, nice one!
…On Thu, 20 Sep 2018, 10:02 Andrey.Tarashevskiy, ***@***.***> wrote:
Fixed in master. Now it's possible to create cycle-referenced tables.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#384 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABHRsTlf2ntkQbpbNb3JBBhUGVtM1tq_ks5uc7wrgaJpZM4WhxP->
.
|
Tapac
added a commit
that referenced
this issue
Sep 20, 2018
Tapac
added a commit
that referenced
this issue
Sep 21, 2018
Tapac
added a commit
that referenced
this issue
Sep 21, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just found this out the hard way today. There are no deferred references.
Take two tables:
We can never create these two tables as the current
create*
methods will sort them based on table dependences (which is really good). But doesn't take into account tables that reference each other.Not sure if it's a good approach, or not, but I'm wondering if all foreign references should be left to the end of the
create()
process so that the tables can be created first so that all foreign references can be created?The text was updated successfully, but these errors were encountered: