# Generated by Django 5.2.7 on 2025-11-16 15:25

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


class Migration(migrations.Migration):

    dependencies = [
        ('mainapp', '0005_alter_sigmaparmark_options_objectmark'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='objectmark',
            options={'ordering': ['-timestamp'], 'verbose_name': 'Отметка источника', 'verbose_name_plural': 'Отметки источников'},
        ),
        migrations.RemoveField(
            model_name='objectmark',
            name='objitem',
        ),
        migrations.AddField(
            model_name='objectmark',
            name='source',
            field=models.ForeignKey(help_text='Связанный источник', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='marks', to='mainapp.source', verbose_name='Источник'),
        ),
    ]
