Skip to content

Commit

Permalink
fix: revert
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Oct 25, 2024
1 parent 538b06c commit 65debef
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 4.2.9 on 2024-10-25 09:33

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('uni_ticket', '0022_alter_ticketassignment_ticket'),
]

operations = [
migrations.AlterField(
model_name='ticketassignment',
name='ticket',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='uni_ticket.ticket'),
),
]
2 changes: 1 addition & 1 deletion uniticket/uni_ticket/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ class TicketAssignment(TimeStampedModel):
Ufficio di competenza per la gestione Ticket
"""

ticket = models.ForeignKey(Ticket, on_delete=models.CASCADE, db_index=False)
ticket = models.ForeignKey(Ticket, on_delete=models.CASCADE)
office = models.ForeignKey(
OrganizationalStructureOffice, on_delete=models.PROTECT)
note = models.TextField(blank=True, null=True)
Expand Down

0 comments on commit 65debef

Please sign in to comment.