# Generated by Django 5.2.7 on 2026-01-07 21:15

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Task',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=200, verbose_name='Titolo')),
                ('description', models.TextField(blank=True, null=True, verbose_name='Descrizione')),
                ('due_date', models.DateField(blank=True, null=True, verbose_name='Data di Scadenza')),
                ('priority', models.CharField(choices=[('L', 'Bassa'), ('M', 'Media'), ('H', 'Alta')], default='M', max_length=1, verbose_name='Priorità')),
                ('category', models.CharField(blank=True, max_length=100, verbose_name='Categoria')),
                ('completed', models.BooleanField(default=False, verbose_name='Completato')),
            ],
            options={
                'verbose_name': 'Attività',
                'verbose_name_plural': 'Attività',
                'ordering': ['due_date'],
            },
        ),
    ]
