# Generated by Django 2.1.7 on 2020-03-20 16:09

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Coda',
            fields=[
                ('id', models.AutoField(db_column='id', primary_key=True, serialize=False)),
                ('parametri', models.CharField(db_column='parametri', default='', max_length=1024)),
                ('dataInserimento', models.IntegerField(db_column='data_inserimento')),
                ('dataEsecuzione', models.IntegerField(db_column='data_esecuzione')),
                ('stato', models.IntegerField(choices=[(0, 'ancora da eseguire'), (1, 'esguito con successo'), (2, 'eseguito con errore')], db_column='stato')),
                ('risultato', models.CharField(db_column='risultato', default='', max_length=1024)),
                ('enabled', models.BooleanField(db_column='enabled', default=1)),
                ('esecuzione', models.CharField(db_column='esecuzione', max_length=1024)),
                ('sid', models.IntegerField(db_column='sid')),
            ],
            options={
                'db_table': 'coda_esecuzione',
                'ordering': ['id'],
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='CodaComandi',
            fields=[
                ('id', models.CharField(db_column='id', max_length=15, primary_key=True, serialize=False)),
                ('acronimo', models.CharField(db_column='acronimo', max_length=128)),
                ('titolo', models.CharField(db_column='title', max_length=254)),
                ('comando', models.CharField(db_column='comando', max_length=1024)),
                ('tipo', models.IntegerField(choices=[(0, 'comando interno'), (1, 'comando esterno completo'), (2, 'comando esterno con parametri')], db_column='comando_tipo', default=0)),
                ('parametri', models.CharField(db_column='parametri', max_length=1024)),
                ('note', models.CharField(db_column='note', max_length=1024)),
                ('sid', models.IntegerField(db_column='sid')),
            ],
            options={
                'db_table': 'coda_comandi',
                'ordering': ['id'],
                'managed': False,
            },
        ),
    ]
