from django.db import migrations, models


class Migration(migrations.Migration):
    """
    Choice labels only. The column, its values and every stored row are
    untouched.

    "Added by <name>" and "Applied from <name>" put the operator's company
    name into a label a client reads in their own panel, and the label shipped
    in the template, so a client saw somebody else's name against their own
    module history. "your provider" reads correctly from either side.
    """
    dependencies = [
        ('tenants', '0022_tenant_ref_prefix'),
    ]

    operations = [
        migrations.AlterField(
            model_name='tenantmodulelog',
            name='source',
            field=models.CharField(choices=[('manual', 'Added manually'), ('free', 'Granted free'), ('purchase', 'Purchased by client'), ('plan', 'Applied from plan'), ('checkin', 'Applied from your provider')], default='manual', max_length=20),
        ),
    ]
