from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('beesgospel', '0005_agenda_infos_interne'),
    ]

    operations = [
        migrations.CreateModel(
            name='Chant',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('numero', models.PositiveSmallIntegerField(verbose_name='Numéro')),
                ('titre', models.CharField(max_length=100, verbose_name='Titre')),
                ('particularite', models.CharField(blank=True, max_length=100, verbose_name='Particularité')),
                ('statut', models.CharField(choices=[('actif', 'Actif'), ('prep', 'En préparation'), ('inactif', 'Inactif')], default='actif', max_length=10, verbose_name='Statut')),
            ],
        ),
        migrations.AddConstraint(
            model_name='chant',
            constraint=models.UniqueConstraint(models.F('numero'), name='numero_unique'),
        ),
    ]
