From 1b9b409d0a118536adf265480c3b19eaf4d95495 Mon Sep 17 00:00:00 2001 From: Bertrand Bordage Date: Thu, 4 Jan 2018 22:45:02 +0100 Subject: [PATCH] Fixes the name of indexes in migrations. --- .../postgres_search/migrations/0002_add_autocomplete.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wagtail/contrib/postgres_search/migrations/0002_add_autocomplete.py b/wagtail/contrib/postgres_search/migrations/0002_add_autocomplete.py index 353846bb0..29ae599ab 100644 --- a/wagtail/contrib/postgres_search/migrations/0002_add_autocomplete.py +++ b/wagtail/contrib/postgres_search/migrations/0002_add_autocomplete.py @@ -38,12 +38,12 @@ class Migration(migrations.Migration): model_name='indexentry', index=django.contrib.postgres.indexes.GinIndex( fields=['autocomplete'], - name='postgres_search_autocomplete'), + name='postgres_se_autocom_ee48c8_gin'), ), migrations.AddIndex( model_name='indexentry', index=django.contrib.postgres.indexes.GinIndex( fields=['body'], - name='postgres_search_body'), + name='postgres_se_body_aaaa99_gin'), ), ]