Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update collect tables #5

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Update collect tables #5

wants to merge 2 commits into from

Conversation

J4bbi
Copy link
Collaborator

@J4bbi J4bbi commented May 22, 2023

***** Work in progress

This is a draft PR in order for EMLO-Collect to be compatible with the new EMLO-Site Edit .

Although we have put great emphasis on keeping the database schema as intact as possible, some changes have been necessary.

A change has been made to all the entity Collect tables to add a single, standard id column.

The reason for this change is that the primary key in the old database was a composite key and Django does not support composite primary keys.

The problem is that, although SQL obviously will support composite keys, Django needs a primary key for various methods.

@J4bbi J4bbi requested a review from jpnp May 22, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant