# 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='Domain',
            fields=[
                ('id', models.IntegerField(db_column='id', primary_key=True, serialize=False)),
                ('domain', models.CharField(db_column='domain', max_length=50)),
                ('public_email', models.CharField(db_column='public_email', max_length=128)),
                ('home', models.CharField(db_column='home', max_length=50)),
                ('max_account', models.IntegerField(db_column='max_account', default=0)),
                ('max_alias', models.IntegerField(db_column='max_alias', default=0)),
                ('max_list', models.IntegerField(db_column='max_list', default=0)),
                ('enabled', models.BooleanField(db_column='enabled')),
                ('mail', models.BooleanField(db_column='mail')),
                ('pop3', models.BooleanField(db_column='pop3')),
                ('imap', models.BooleanField(db_column='imap')),
                ('smtp', models.BooleanField(db_column='smtp')),
                ('sms', models.BooleanField(db_column='sms')),
                ('webmail', models.BooleanField(db_column='webmail')),
                ('ftp', models.BooleanField(db_column='ftp', default=0)),
                ('sql', models.BooleanField(db_column='sql', default=0)),
                ('http', models.BooleanField(db_column='http', default=0)),
                ('proxy', models.BooleanField(db_column='proxy', default=0)),
                ('sendafile', models.BooleanField(db_column='sendafile')),
                ('tobedeleted', models.BooleanField(db_column='tobedeleted', default=0)),
                ('date_start_contract', models.DateField(db_column='date_start_contract')),
                ('date_expire_contract', models.DateField(db_column='date_expire_contract')),
                ('date_expire_registrar', models.DateField(db_column='date_expire_registrar')),
                ('nota', models.TextField(db_column='nota')),
                ('renew_authorized', models.BooleanField(db_column='renew_authorized')),
                ('payment_status', models.BooleanField(db_column='payment_status')),
                ('payment_value', models.DecimalField(db_column='payment_value', decimal_places=2, max_digits=8)),
                ('payment_exclusion', models.BooleanField(db_column='payment_exclusion')),
            ],
            options={
                'db_table': 'local_domain',
                'ordering': ['id'],
                'managed': False,
            },
        ),
    ]
