# Generated by Django 5.1.5 on 2025-02-09 11:07

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


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0013_alter_manufacturer_organization_and_more'),
        ('itim', '0006_alter_cluster_organization_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='ClusterNotes',
            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='itim.cluster', verbose_name='Model')),
            ],
            options={
                'verbose_name': 'Cluster Note',
                'verbose_name_plural': 'Cluster Notes',
                'db_table': 'itim_cluster_notes',
                'ordering': ['-created'],
            },
            bases=('core.modelnotes',),
        ),
        migrations.CreateModel(
            name='ClusterTypeNotes',
            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='itim.clustertype', verbose_name='Model')),
            ],
            options={
                'verbose_name': 'Cluster Type Note',
                'verbose_name_plural': 'Cluster Type Notes',
                'db_table': 'itim_cluster_type_notes',
                'ordering': ['-created'],
            },
            bases=('core.modelnotes',),
        ),
        migrations.CreateModel(
            name='PortNotes',
            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='itim.port', verbose_name='Model')),
            ],
            options={
                'verbose_name': 'Port Note',
                'verbose_name_plural': 'Port Notes',
                'db_table': 'itim_port_notes',
                'ordering': ['-created'],
            },
            bases=('core.modelnotes',),
        ),
        migrations.CreateModel(
            name='ServiceNotes',
            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='itim.service', verbose_name='Model')),
            ],
            options={
                'verbose_name': 'Service Note',
                'verbose_name_plural': 'Service Notes',
                'db_table': 'itim_service_notes',
                'ordering': ['-created'],
            },
            bases=('core.modelnotes',),
        ),
    ]
