From 4e894e7ca48ef24be7e4302ff7f92c65ae16ddd9 Mon Sep 17 00:00:00 2001 From: Matti Lamppu Date: Wed, 4 Dec 2024 15:35:34 +0200 Subject: [PATCH] Fix order or migrations --- ...nit_search_terms.py => 0048_reservationunit_search_terms.py} | 2 +- ...nit_vectors.py => 0049_populate_reservation_unit_vectors.py} | 2 +- ...l.py => 0050_change_reservation_unit_vectors_to_non_null.py} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename tilavarauspalvelu/migrations/{0050_reservationunit_search_terms.py => 0048_reservationunit_search_terms.py} (87%) rename tilavarauspalvelu/migrations/{0048_populate_reservation_unit_vectors.py => 0049_populate_reservation_unit_vectors.py} (85%) rename tilavarauspalvelu/migrations/{0049_change_reservation_unit_vectors_to_non_null.py => 0050_change_reservation_unit_vectors_to_non_null.py} (92%) diff --git a/tilavarauspalvelu/migrations/0050_reservationunit_search_terms.py b/tilavarauspalvelu/migrations/0048_reservationunit_search_terms.py similarity index 87% rename from tilavarauspalvelu/migrations/0050_reservationunit_search_terms.py rename to tilavarauspalvelu/migrations/0048_reservationunit_search_terms.py index 94a498da1..5159e4aa4 100644 --- a/tilavarauspalvelu/migrations/0050_reservationunit_search_terms.py +++ b/tilavarauspalvelu/migrations/0048_reservationunit_search_terms.py @@ -7,7 +7,7 @@ class Migration(migrations.Migration): dependencies = [ - ("tilavarauspalvelu", "0049_change_reservation_unit_vectors_to_non_null"), + ("tilavarauspalvelu", "0047_add_reservation_unit_search_vectors"), ] operations = [ diff --git a/tilavarauspalvelu/migrations/0048_populate_reservation_unit_vectors.py b/tilavarauspalvelu/migrations/0049_populate_reservation_unit_vectors.py similarity index 85% rename from tilavarauspalvelu/migrations/0048_populate_reservation_unit_vectors.py rename to tilavarauspalvelu/migrations/0049_populate_reservation_unit_vectors.py index 7a6dbec79..1f9555ba6 100644 --- a/tilavarauspalvelu/migrations/0048_populate_reservation_unit_vectors.py +++ b/tilavarauspalvelu/migrations/0049_populate_reservation_unit_vectors.py @@ -11,7 +11,7 @@ def gen_vectors(apps, schema_editor) -> None: class Migration(migrations.Migration): dependencies = [ - ("tilavarauspalvelu", "0047_add_reservation_unit_search_vectors"), + ("tilavarauspalvelu", "0048_reservationunit_search_terms"), ] operations = [migrations.RunPython(gen_vectors, migrations.RunPython.noop)] diff --git a/tilavarauspalvelu/migrations/0049_change_reservation_unit_vectors_to_non_null.py b/tilavarauspalvelu/migrations/0050_change_reservation_unit_vectors_to_non_null.py similarity index 92% rename from tilavarauspalvelu/migrations/0049_change_reservation_unit_vectors_to_non_null.py rename to tilavarauspalvelu/migrations/0050_change_reservation_unit_vectors_to_non_null.py index ee1352314..92e800d90 100644 --- a/tilavarauspalvelu/migrations/0049_change_reservation_unit_vectors_to_non_null.py +++ b/tilavarauspalvelu/migrations/0050_change_reservation_unit_vectors_to_non_null.py @@ -7,7 +7,7 @@ class Migration(migrations.Migration): dependencies = [ - ("tilavarauspalvelu", "0048_populate_reservation_unit_vectors"), + ("tilavarauspalvelu", "0049_populate_reservation_unit_vectors"), ] operations = [