From da2eea3a7cafecc0d37f5297ac2936ad0f2f6b1c Mon Sep 17 00:00:00 2001 From: Paarth Shah Date: Tue, 20 Aug 2024 14:28:13 -0700 Subject: [PATCH] Fix migrating db that isn't past squashed migration --- easyaudit/migrations/0004_auto_20170620_1354.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/easyaudit/migrations/0004_auto_20170620_1354.py b/easyaudit/migrations/0004_auto_20170620_1354.py index a91cc89f..b5ca5db7 100644 --- a/easyaudit/migrations/0004_auto_20170620_1354.py +++ b/easyaudit/migrations/0004_auto_20170620_1354.py @@ -1,6 +1,6 @@ # Generated by Django 1.11.1 on 2017-06-20 13:54 -from django.db import migrations +from django.db import migrations, models class Migration(migrations.Migration): @@ -11,8 +11,8 @@ class Migration(migrations.Migration): ] operations = [ - migrations.AlterIndexTogether( - name='crudevent', - index_together=set([('object_id', 'content_type')]), + migrations.AddIndex( + model_name='crudevent', + index=models.Index(fields=['object_id', 'content_type'], name='easyaudit_c_object__82020b_idx'), ), ]