From 77b4d513ab2d6d6862fdabbb6248ce80c2b7414d Mon Sep 17 00:00:00 2001 From: Sam Morgan Date: Mon, 18 Mar 2024 12:54:15 -0700 Subject: [PATCH] Fix migrations --- ... 0019_alter_crudevent_changed_fields_and_more.py} | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) rename easyaudit/migrations/{0018_auto_20240105_0125.py => 0019_alter_crudevent_changed_fields_and_more.py} (82%) diff --git a/easyaudit/migrations/0018_auto_20240105_0125.py b/easyaudit/migrations/0019_alter_crudevent_changed_fields_and_more.py similarity index 82% rename from easyaudit/migrations/0018_auto_20240105_0125.py rename to easyaudit/migrations/0019_alter_crudevent_changed_fields_and_more.py index 2825cff..fbfdf40 100644 --- a/easyaudit/migrations/0018_auto_20240105_0125.py +++ b/easyaudit/migrations/0019_alter_crudevent_changed_fields_and_more.py @@ -1,4 +1,4 @@ -# Generated by Django 3.2 on 2024-01-05 01:25 +# Generated by Django 5.0.1 on 2024-03-18 19:53 from django.db import migrations, models @@ -6,7 +6,7 @@ class Migration(migrations.Migration): dependencies = [ - ('easyaudit', '0017_alter_requestevent_datetime'), + ('easyaudit', '0018_rename_crudevent_object_id_content_type_index'), ] operations = [ @@ -50,12 +50,4 @@ class Migration(migrations.Migration): name='remote_ip', field=models.CharField(db_index=True, default='', max_length=50, verbose_name='Remote IP'), ), - migrations.AlterIndexTogether( - name='crudevent', - index_together=set(), - ), - migrations.AddIndex( - model_name='crudevent', - index=models.Index(fields=['object_id', 'content_type'], name='easyaudit_c_object__82020b_idx'), - ), ]