# Generated by Django 1.11.20 on 2019-03-15 09:38

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('base', '0012_job'),
    ]

    operations = [
        migrations.CreateModel(
            name='APIEntreprise',
            fields=[
                (
                    'id',
                    models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
                ),
                ('title', models.CharField(max_length=50, verbose_name='Title')),
                ('description', models.TextField(verbose_name='Description')),
                ('slug', models.SlugField(unique=True, verbose_name='Identifier')),
                (
                    'url',
                    models.URLField(
                        default='https://entreprise.api.gouv.fr/', max_length=256, verbose_name='API URL'
                    ),
                ),
                ('token', models.CharField(max_length=1024, verbose_name='API token')),
                (
                    'users',
                    models.ManyToManyField(
                        blank=True,
                        related_name='_apientreprise_users_+',
                        related_query_name='+',
                        to='base.ApiUser',
                    ),
                ),
            ],
            options={
                'verbose_name': 'API Entreprise',
            },
        ),
    ]
