# Generated by Django 2.2.9 on 2020-01-05 14:41

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("propositions", "0003_reponse_renaming_and_cleaning"),
    ]

    operations = [
        migrations.AlterModelOptions(
            name="prop",
            options={
                "verbose_name": "Proposition de morceau",
                "verbose_name_plural": "Propositions de morceaux",
            },
        ),
        migrations.RenameField(
            model_name="prop", old_name="artiste", new_name="artist",
        ),
        migrations.RenameField(model_name="prop", old_name="lien", new_name="link"),
        migrations.RenameField(model_name="prop", old_name="nom", new_name="name"),
        migrations.RenameField(model_name="prop", old_name="nbnon", new_name="nb_no"),
        migrations.RenameField(model_name="prop", old_name="nboui", new_name="nb_yes"),
        migrations.AlterField(
            model_name="prop",
            name="nb_no",
            field=models.IntegerField(default=0, verbose_name="nombre de réponses non"),
        ),
        migrations.AlterField(
            model_name="prop",
            name="nb_yes",
            field=models.IntegerField(default=0, verbose_name="nombre de réponses oui"),
        ),
        migrations.RenameModel(old_name="prop", new_name="proposition"),
        migrations.AlterField(
            model_name='answer',
            name='proposition',
            field=models.ForeignKey(on_delete=models.deletion.CASCADE, to='propositions.Proposition'),
        ),
    ]
