# Generated by Django 5.1.5 on 2025-03-16 01:47

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


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0016_data_move_history_to_new_table'),
    ]

    operations = [
        migrations.AlterField(
            model_name='ticketlinkeditem',
            name='item_type',
            field=models.IntegerField(choices=[(1, 'Cluster'), (2, 'Config Group'), (3, 'Device'), (4, 'Operating System'), (5, 'Service'), (6, 'Software'), (7, 'Knowledge Base'), (8, 'Organization'), (9, 'Team'), (10, 'Feature Flag')], help_text='Python Model location for linked item', verbose_name='Item Type'),
        ),
        migrations.CreateModel(
            name='TicketCategoryNotes',
            fields=[
                ('modelnotes_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='core.modelnotes')),
                ('model', models.ForeignKey(help_text='Model this note belongs to', on_delete=django.db.models.deletion.CASCADE, related_name='notes', to='core.ticketcategory', verbose_name='Model')),
            ],
            options={
                'verbose_name': 'Ticket Category Note',
                'verbose_name_plural': 'Ticket Category Notes',
                'db_table': 'core_ticketcategory_notes',
                'ordering': ['-created'],
            },
            bases=('core.modelnotes',),
        ),
        migrations.CreateModel(
            name='TicketCommentCategoryNotes',
            fields=[
                ('modelnotes_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='core.modelnotes')),
                ('model', models.ForeignKey(help_text='Model this note belongs to', on_delete=django.db.models.deletion.CASCADE, related_name='notes', to='core.ticketcommentcategory', verbose_name='Model')),
            ],
            options={
                'verbose_name': 'Ticket Comment Category Note',
                'verbose_name_plural': 'Ticket Comment Category Notes',
                'db_table': 'core_ticketcommentcategory_notes',
                'ordering': ['-created'],
            },
            bases=('core.modelnotes',),
        ),
    ]
