# Generated by Django 1.11.18 on 2021-02-02 12:04

import django.contrib.postgres.fields
from django.db import migrations, models

import passerelle.sms.models


class Migration(migrations.Migration):

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

    operations = [
        migrations.AddField(
            model_name='twiliosmsgateway',
            name='allow_premium_rate',
            field=models.BooleanField(
                default=False,
                help_text='This option is only applyed to France mainland',
                verbose_name='Allow premium rate numbers',
            ),
        ),
        migrations.AddField(
            model_name='twiliosmsgateway',
            name='authorized',
            field=django.contrib.postgres.fields.ArrayField(
                base_field=models.CharField(
                    choices=[
                        ('fr-metro', 'France mainland (+33 [67])'),
                        ('fr-domtom', 'France DOM/TOM (+262, etc.)'),
                        ('be', 'Belgian (+32 4[5-9]) '),
                        ('all', 'All'),
                    ],
                    max_length=32,
                    null=True,
                ),
                default=passerelle.sms.models.authorized_default,
                size=None,
                verbose_name='Authorized Countries',
            ),
        ),
    ]
