Closed abeedvisram closed 7 years ago
Removing the mutations and genes django apps may fix this. We do not use those anymore.
@awm33, we should use the gene table from cognoma/genes
, rather than django-genes
. I thought we already removed django-genes
?
Also the backend database will need mutation info.
@dhimmel We did, the application is using the new genes table, but django is still loading django-genes and django-organisms. We can just remove it from installed applications in settings.py and requirements.txt
django is still loading django-genes and django-organisms. We can just remove it from installed applications in settings.py and requirements.txt
Purge it!
Been running into a few issues this evening trying to run the migrations for this project. When running locally (using Postgres running on my laptop) or via Docker, I run into the following issue
When running the tests locally the migrations all run successfully, and all the tables are created:
To get around this, and so that I could start playing around with the project this evening, I copied the schema from the test database and set that as my local DB. Obviously not a proper way of doing things, but meant that I could hack on the project a bit.
Has anybody else encountered this? I'm sure I'm missing something really obvious with regards to the different settings between running the unit tests and the management commands, but I can't seem to figure out what the issue is. Any help much appreciated.