# Generated by Django 3.0.5 on 2020-04-21 15:58

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('utenti', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Logger',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('data', models.IntegerField(db_column='data')),
                ('nota', models.TextField(db_column='nota')),
                ('utente', models.ForeignKey(db_column='utente', on_delete=django.db.models.deletion.PROTECT, to='utenti.User')),
            ],
            options={
                'db_table': 'Logger',
                'managed': True,
            },
        ),
        migrations.AddIndex(
            model_name='logger',
            index=models.Index(fields=['data', 'utente'], name='Logger_data_7cb12f_idx'),
        ),
    ]
