# Generated by Django 5.1.5 on 2025-02-04 11:18

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


class Migration(migrations.Migration):

    dependencies = [
        ('amministratore', '0006_rename_vedi_permesso_amministratore_read_permesso'),
    ]

    operations = [
        migrations.CreateModel(
            name='Permesso',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nome', models.CharField(max_length=20, null=True)),
                ('descrizione', models.CharField(max_length=128, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='AP',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('amministratore', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='amministratore.amministratore')),
                ('Permesso', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='amministratore.permesso')),
            ],
        ),
    ]
