-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop text indices on the failureline table
- Loading branch information
1 parent
ec51dda
commit b052ec7
Showing
2 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
treeherder/model/migrations/0029_alter_failureline_index_together.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated by Django 4.1.9 on 2023-08-28 11:32 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
""" | ||
Drop indices on the Failure Line table as test and subtest | ||
entries are too large compared to PostgreSQL limitations. | ||
https://www.postgresql.org/docs/15/textsearch-limitations.html | ||
""" | ||
|
||
dependencies = [ | ||
('model', '0028_alter_textlogerror_unique_together'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterIndexTogether( | ||
name='failureline', | ||
index_together={('job_guid', 'repository')}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters