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

BC-7179 - add missing indexes #4952

Merged
merged 13 commits into from
Apr 24, 2024
Merged

BC-7179 - add missing indexes #4952

merged 13 commits into from
Apr 24, 2024

Conversation

bn-pass
Copy link
Contributor

@bn-pass bn-pass commented Apr 23, 2024

Description

Links to Tickets or other pull requests

https://ticketsystem.dbildungscloud.de/browse/BC-7158

Changes

Datasecurity

Deployment

New Repos, NPM pakages or vendor scripts

Approval for review

  • DEV: If api was changed - generate-client:server was executed in vue frontend and changes were tested and put in a PR with the same branch name.
  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

Notice: Please remove the WIP label if the PR is ready to review, otherwise nobody will review it.

CeEv
CeEv previously approved these changes Apr 23, 2024
@CeEv CeEv dismissed their stale review April 23, 2024 13:38

test failed

@bn-pass bn-pass requested a review from CeEv April 23, 2024 14:39
Copy link

@bn-pass bn-pass merged commit 7eb40fc into main Apr 24, 2024
55 of 56 checks passed
@bn-pass bn-pass deleted the BC-7179-add-missing-indexes branch April 24, 2024 09:44
virgilchiriac pushed a commit that referenced this pull request Apr 24, 2024
* replace the old compound index on the studentId and homeworkId fields with the new one that checks for the existence of the studentId field

* add indexes to the contextId and contextType fields in the boardnodes entity

* add index on the createdAt field for the deletion request entity

* add more indexes for the File entity

* add index for the contents.user field in the Lesson entity

* add indexes for the creatorId and updaterId fields in the News entity

* add indexes for the teamMembers and courseGroupId fields in the Submission entity

* remove contents.user index as mikro-orm cannot make one this way

* move index declaration to class level

* change compound index to a separate fields indexes
bergatco pushed a commit that referenced this pull request May 6, 2024
* replace the old compound index on the studentId and homeworkId fields with the new one that checks for the existence of the studentId field

* add indexes to the contextId and contextType fields in the boardnodes entity

* add index on the createdAt field for the deletion request entity

* add more indexes for the File entity

* add index for the contents.user field in the Lesson entity

* add indexes for the creatorId and updaterId fields in the News entity

* add indexes for the teamMembers and courseGroupId fields in the Submission entity

* remove contents.user index as mikro-orm cannot make one this way

* move index declaration to class level

* change compound index to a separate fields indexes
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.

3 participants