Skip to content

Commit

Permalink
add migration to drop index on requestevent_url (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
steverecio authored May 18, 2020
1 parent dd246bc commit 6b9f743
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions easyaudit/migrations/0013_auto_20190723_0126.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,18 @@
from django.db import migrations, models


def drop_index(apps, schema_editor):
schema_editor.execute('DROP INDEX "easyaudit_requestevent_url_37d1b8c4"')


class Migration(migrations.Migration):

dependencies = [
('easyaudit', '0012_auto_20181018_0012'),
]

operations = [
migrations.RunPython(drop_index),
migrations.AlterField(
model_name='requestevent',
name='url',
Expand Down

0 comments on commit 6b9f743

Please sign in to comment.