Skip to content

Commit

Permalink
Add db index to edit_log resourceinstanceid column
Browse files Browse the repository at this point in the history
  • Loading branch information
chiatt committed Sep 26, 2024
1 parent b23ec43 commit 4a55d70
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 4.2.11 on 2024-09-26 14:41

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("models", "10476_add_user_bulk_data_import"),
]

operations = [
migrations.AddIndex(
model_name="editlog",
index=models.Index(
fields=["resourceinstanceid"], name="edit_log_resourc_d0371e_idx"
),
),
]
1 change: 1 addition & 0 deletions arches/app/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ class Meta:
db_table = "edit_log"
indexes = [
models.Index(fields=["transactionid"]),
models.Index(fields=["resourceinstanceid"]),
]


Expand Down
1 change: 1 addition & 0 deletions releases/7.6.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Arches 7.6.0 Release Notes
- 11274 Raise limit of editable installs of arches applications from 3 to 9
- Allow minzoom and maxzoom to be applied to a resource map source from a geojson node config #10929
- Avoid retrieving full user information in the bulk data manager task status page.
- Add index to the edit_log table's resourceinstanceid column to improve performance #11499
- 11080 Allow arbitrarily large geometries with > 1500 points and an ES document > 32k bytes
- 10987 Allow custom ES search documents to be added to a resource instance
- 11044 Ensure Saved Searches sortorder is used when called from system settings
Expand Down

0 comments on commit 4a55d70

Please sign in to comment.