Health-Informatics-UoN / Carrot-Mapper

Carrot: Convenient And Reusable Rapid Omop Transformer.
https://carrot4omop.ac.uk
MIT License
12 stars 3 forks source link

New Carrot installs don't populate the content_type table correctly #679

Open AndyRae opened 2 months ago

AndyRae commented 2 months ago

Is there an existing issue for this?

Current Behavior

When installing a new version of Carrot, the only piece that does not work is that the django_content_type table is not being populated correctly, and missing several models from the mapping and data project.

Expected Behavior

All the models to be populated in the table.

Steps To Reproduce

  1. Deploy a new instance of Carrot
  2. Run the migrations
  3. Look in the django_content_type table.

Environment

- OS: MacOs
- Other environment details: Python 3.11

I'm part of a Project Team

Yes - DRS

Anything else?

I wonder if this is a result of moving the models to a shared library in #671 The existing workaround is to import the models manually, but will explore to where we fix this.

Are you willing to contribute to resolve this issue?

✅ Yes, me or my team intend to do the development.