Skip to content

5.10.4

  • 5.10.4
  • c1e6c10
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • 5.10.4
  • c1e6c10
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@jesperhodge jesperhodge tagged this 20 Mar 18:07
Part of https://github.com/openedx/edx-enterprise/pull/2338, see there for extended description.
The overall goal is to add a foreign key to the EnterpriseCustomerUser that points to User.
Since this is a large table, a series of PRs and migrations was designed to do this without incurring performance problems.
This migration is the last part, adding the actual foreign key to the previously added and indexed `user_fk` field.
Before applying this to a very large table, to avoid downtime, you **MUST** make sure that no `user_fk` entries are NULL (but the column must remain nullable).
In order to make that happen, deploy https://github.com/openedx/edx-enterprise/pull/2341 first and run the management task defined there.
Assets 2
Loading