# Generated by Django 5.1.12 on 2025-09-19 12:36

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


class Migration(migrations.Migration):

    dependencies = [
        ('froide_govplan', '0015_alter_categorizedgovernmentplan_id_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='FOIRequest',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=1024, verbose_name='title')),
                ('created_at', models.DateTimeField(default=django.utils.timezone.now, verbose_name='created at')),
                ('government_plan', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='foi_requests', to='froide_govplan.governmentplan', verbose_name='government plan')),
            ],
            options={
                'verbose_name': 'FOI request',
                'verbose_name_plural': 'FOI requests',
                'ordering': ('-created_at',),
                'get_latest_by': 'created_at',
            },
        ),
    ]
