# Generated by Django 4.2.5 on 2024-07-02 19:51

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('support', '0003_remove_ticket_status'),
    ]

    operations = [
        migrations.AlterField(
            model_name='ticket',
            name='opened_date',
            field=models.DateField(blank=True, null=True),
        ),
        migrations.CreateModel(
            name='TicketConnection',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('type', models.CharField(choices=[('Online', 'Online'), ('Offline', 'Offline')], max_length=50, null=True)),
                ('date', models.DateTimeField()),
                ('ticket', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='support.ticketupdate')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
