# Generated by Django 5.1.5 on 2025-03-20 05:39

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


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0019_alter_ticketlinkeditem_unique_together'),
        ('devops', '0004_gitgrouphistory'),
    ]

    operations = [
        migrations.CreateModel(
            name='GitHubRepositoryNotes',
            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='devops.githubrepository', verbose_name='Model')),
            ],
            options={
                'verbose_name': 'GitHub Repository Note',
                'verbose_name_plural': 'GitHub Repository Notes',
                'db_table': 'devops_github_repository_notes',
                'ordering': ['-created'],
            },
            bases=('core.modelnotes',),
        ),
        migrations.CreateModel(
            name='GitLabRepositoryNotes',
            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='devops.gitlabrepository', verbose_name='Model')),
            ],
            options={
                'verbose_name': 'GitLab Repository Note',
                'verbose_name_plural': 'GitLab Repository Notes',
                'db_table': 'devops_gitlab_repository_notes',
                'ordering': ['-created'],
            },
            bases=('core.modelnotes',),
        ),
    ]
