Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
UserInfo can't have a ForeignKey with JupyterHub User model #26
So, I created a class called
This table (
However, when I try to add a relationship between
I created a simple example and the main problem that I found is that, if I create both tables at the same time (using
Since I am not changing anything on JupyterHub, the
Some things I tried on the process:
For now, my
Sorry, didn't catch up before it looks like it was solved. Great!
I think I would probably advise strongly against custom authenticators using the private jupyterhub.orm and creating anything in the jupyterhub databases directly, though. There's absolutely no guarantee that anything there is stable for public consumption (not the tables, not the classes, not the orm module existing at all).