# Generated by Django 6.1 on 2026-08-16 17:45

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


class Migration(migrations.Migration):

    dependencies = [
        ('program_department', '0009_alter_project_custom_fields_field_type'),
    ]

    operations = [
        migrations.AddField(
            model_name='project_targets',
            name='achieved',
            field=models.IntegerField(default=0),
        ),
        migrations.CreateModel(
            name='Followups',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('followup_number', models.IntegerField()),
                ('due_date', models.DateField(blank=True, null=True)),
                ('completed_date', models.DateField(blank=True, null=True)),
                ('status', models.CharField(choices=[('pending', 'Pending'), ('completed', 'Completed'), ('missed', 'Missed')], default='pending', max_length=20)),
                ('notes', models.TextField(blank=True, null=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('program', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='followups', to='program_department.programs')),
            ],
        ),
    ]
