Skip to content

Commit

Permalink
fix: existing migrations.
Browse files Browse the repository at this point in the history
  • Loading branch information
qasimgulzar authored and qasimgulzar committed Nov 22, 2024
1 parent 8ebc6c4 commit 61b0250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/coursewarehistoryextended/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Meta:
get_latest_by = "created"
index_together = ['student_module']

id = models.BigAutoField(primary_key=True) # pylint: disable=invalid-name
id = models.BigAutoField(primary_key=True, serialize=False) # pylint: disable=invalid-name

student_module = models.ForeignKey(StudentModule, db_index=True, db_constraint=False, on_delete=models.DO_NOTHING)

Expand Down

0 comments on commit 61b0250

Please sign in to comment.