# 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'),
        ('project_management', '0003_alter_project_organization_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='ProjectMilestoneNotes',
            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='project_management.projectmilestone', verbose_name='Model')),
            ],
            options={
                'verbose_name': 'Project Milestone Note',
                'verbose_name_plural': 'Project Milestone Notes',
                'db_table': 'project_management_project_milestone_notes',
                'ordering': ['-created'],
            },
            bases=('core.modelnotes',),
        ),
        migrations.CreateModel(
            name='ProjectNotes',
            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='project_management.project', verbose_name='Model')),
            ],
            options={
                'verbose_name': 'Project Note',
                'verbose_name_plural': 'Project Notes',
                'db_table': 'project_management_notes',
                'ordering': ['-created'],
            },
            bases=('core.modelnotes',),
        ),
        migrations.CreateModel(
            name='ProjectStateNotes',
            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='project_management.projectstate', verbose_name='Model')),
            ],
            options={
                'verbose_name': 'Project State Note',
                'verbose_name_plural': 'Project State Notes',
                'db_table': 'project_management_project_state_notes',
                'ordering': ['-created'],
            },
            bases=('core.modelnotes',),
        ),
        migrations.CreateModel(
            name='ProjectTypeNotes',
            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='project_management.projecttype', verbose_name='Model')),
            ],
            options={
                'verbose_name': 'Project Type Note',
                'verbose_name_plural': 'Project Type Notes',
                'db_table': 'project_management_project_type_notes',
                'ordering': ['-created'],
            },
            bases=('core.modelnotes',),
        ),
    ]
