This is a big PR that reorganizes the way the hub configuration is stored in the database.
Feel free to read the commits in order, they should be roughly topical.
There is no support for migrating the configuration, so you'll have to remove your DB and run populate.py again.
When this PR is accepted, I'll split the models.py file in multiple sub-modules, because it's getting complicated and I think it would be clearer with a table per file, but I did not want to generate noise for this review.
This is a big PR that reorganizes the way the hub configuration is stored in the database.
Feel free to read the commits in order, they should be roughly topical.
There is no support for migrating the configuration, so you'll have to remove your DB and run
populate.pyagain.When this PR is accepted, I'll split the
models.pyfile in multiple sub-modules, because it's getting complicated and I think it would be clearer with a table per file, but I did not want to generate noise for this review.