Skip to content

Commit

Permalink
fix: ticketassignment new index
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Nov 9, 2023
1 parent f43eb66 commit 67f1b09
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.2.7 on 2023-11-09 01:45

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("uni_ticket", "0016_ticketassignment_uni_ticket__office__634a3f_idx"),
]

operations = [
migrations.AlterField(
model_name="ticketassignment",
name="follow",
field=models.BooleanField(db_index=True, default=True),
),
]
2 changes: 1 addition & 1 deletion uniticket/uni_ticket/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ class TicketAssignment(TimeStampedModel):
blank=True,
related_name="taken_by_operator",
)
follow = models.BooleanField(default=True)
follow = models.BooleanField(default=True, db_index=True)
readonly = models.BooleanField(default=False)

class Meta:
Expand Down

0 comments on commit 67f1b09

Please sign in to comment.