Skip to content

Commit

Permalink
Migrations for indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Feb 7, 2024
1 parent 7b70153 commit ecc2f5e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions core/concepts/migrations/0074_concept_repo_version_concepts.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.2.4 on 2024-02-06 10:57

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('concepts', '0073_conceptname_preferred_locale'),
]

operations = [
migrations.AddIndex(
model_name='concept',
index=models.Index(condition=models.Q(('is_active', True), ('retired', False)), fields=['id'], name='repo_version_concepts'),
),
]
17 changes: 17 additions & 0 deletions core/mappings/migrations/0052_mapping_repo_version_mappings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.2.4 on 2024-02-06 10:57

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('mappings', '0051_mapping_direct_mappings'),
]

operations = [
migrations.AddIndex(
model_name='mapping',
index=models.Index(condition=models.Q(('is_active', True), ('retired', False)), fields=['id'], name='repo_version_mappings'),
),
]

0 comments on commit ecc2f5e

Please sign in to comment.