Skip to content

DB Refactor: Consolidate database models #2

@YanCotta

Description

@YanCotta

Description:

There are two files defining database models: backend/database/models.py and backend/database/models_new.py. This can lead to inconsistencies and errors. The models_new.py file seems to be the most up-to-date and should be used as the single source of truth.

Tasks:

Merge any necessary models from models.py into models_new.py.

Delete the models.py file.

Update all imports to reference the models_new.py file.

Rename models_new.py to models.py for clarity.

Labels: backend, refactor, bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions