# Generated by Django 1.11.18 on 2020-04-12 10:40

import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('orange', '0007_auto_20200310_1539'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='orangesmsgateway',
            name='keystore',
        ),
        migrations.AddField(
            model_name='orangesmsgateway',
            name='default_country_code',
            field=models.CharField(
                default='33',
                max_length=3,
                verbose_name='Default country code',
                validators=[
                    django.core.validators.RegexValidator('^[0-9]*$', 'The country must only contain numbers')
                ],
            ),
        ),
        migrations.AddField(
            model_name='orangesmsgateway',
            name='default_trunk_prefix',
            field=models.CharField(
                default='0',
                max_length=2,
                verbose_name='Default trunk prefix',
                validators=[
                    django.core.validators.RegexValidator(
                        '^[0-9]*$', 'The trunk prefix must only contain numbers'
                    )
                ],
            ),
        ),
        migrations.AddField(
            model_name='orangesmsgateway',
            name='groupname',
            field=models.CharField(default='', max_length=64, verbose_name='Group'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='orangesmsgateway',
            name='password',
            field=models.CharField(default='', max_length=64, verbose_name='Password'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='orangesmsgateway',
            name='username',
            field=models.CharField(
                default='',
                max_length=64,
                verbose_name='Identifier',
                help_text='Please remove any SMS sending restrictions in the Contact Everyone solution, especially on authorized sending periods.',
            ),
            preserve_default=False,
        ),
    ]
