WIP: Draft: Add default GIN index for extended_data #2145

Draft
nik wants to merge 3 commits from feature/gin-index-on-ext-data into master
Owner

PostgreSQL provides the GIN index for composite data types, like the JSONB type. It allows the index to match the keys of JSON objects, so searching in extended_data (e.g. for an import reference) can be done using an index scan.

PostgreSQL provides the GIN index for composite data types, like the JSONB type. It allows the index to match the keys of JSON objects, so searching in extended_data (e.g. for an import reference) can be done using an index scan.
Author
Owner

added 2 commits

  • 9dd6d8b1 - Add system check for ExtensibleModel Meta classes
  • 6e7faba0 - Add migration to create GIN indexes

Compare with previous version

added 2 commits <ul><li>9dd6d8b1 - Add system check for ExtensibleModel Meta classes</li><li>6e7faba0 - Add migration to create GIN indexes</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-Core/-/merge_requests/500/diffs?diff_id=4948&start_sha=3be589a06af020efbbc0ff81c6c9b9ec75af62eb)
Author
Owner

marked this merge request as draft

marked this merge request as **draft**
Author
Owner

Left as draft so we do not forget to update all apps.

Left as draft so we do not forget to update all apps.
Author
Owner

marked this merge request as ready

marked this merge request as **ready**
Author
Owner

@hansegucker Please merge

We will check and clean up all migrations before tagging the release anyway.

@hansegucker Please merge We will check and clean up all migrations before tagging the release anyway.
Owner

But doesn't include this also an update of all Meta classes?

But doesn't include this also an update of all `Meta` classes?
Author
Owner

marked this merge request as draft

marked this merge request as **draft**
Author
Owner

This might be outdated because of #440

This might be outdated because of #440
This pull request has changes conflicting with the target branch.
  • aleksis/core/checks.py
  • aleksis/core/mixins.py
  • aleksis/core/models.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/gin-index-on-ext-data:feature/gin-index-on-ext-data
git switch feature/gin-index-on-ext-data

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff feature/gin-index-on-ext-data
git switch feature/gin-index-on-ext-data
git rebase master
git switch master
git merge --ff-only feature/gin-index-on-ext-data
git switch feature/gin-index-on-ext-data
git rebase master
git switch master
git merge --no-ff feature/gin-index-on-ext-data
git switch master
git merge --squash feature/gin-index-on-ext-data
git switch master
git merge --ff-only feature/gin-index-on-ext-data
git switch master
git merge feature/gin-index-on-ext-data
git push origin master
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-Core!2145
No description provided.