Skip to content

feat!: rm user foreign key in db#2

Merged
johanseto merged 1 commit into
open-release/teak.nelpfrom
jlc/rm-user-db-foreign-key
Jun 5, 2026
Merged

feat!: rm user foreign key in db#2
johanseto merged 1 commit into
open-release/teak.nelpfrom
jlc/rm-user-db-foreign-key

Conversation

@johanseto

@johanseto johanseto commented Jun 5, 2026

Copy link
Copy Markdown

Description

When this model is used with huge traffic, students are completing multiple blocks in courses. The User table is also locked with other models. This slow all the inserts and updates using User table with a foreign key.

Inspired in nelc/eox-nelp#314

test

clone
run
./manage.py lms migrate completion
2026-06-05_15-53

When this model is used with huge traffic, students completing multiple blocks in courses. The User table is also locked with other models. This slow all the inserts and updates using User table.
@johanseto johanseto marked this pull request as ready for review June 5, 2026 20:46
@johanseto johanseto requested a review from andrey-canon June 5, 2026 20:54
@johanseto johanseto merged commit 90637d5 into open-release/teak.nelp Jun 5, 2026
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.

2 participants