from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('gears', '0005_rig_is_public'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        # Primer
        migrations.AddField(
            model_name='primer',
            name='status',
            field=models.CharField(
                choices=[('PENDING', 'Pending Verification'), ('VERIFIED', 'Verified'), ('REJECTED', 'Rejected')],
                default='VERIFIED', max_length=10, verbose_name='status',
            ),
        ),
        migrations.AddField(
            model_name='primer',
            name='submitted_by',
            field=models.ForeignKey(
                blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL,
                related_name='submitted_primers', to=settings.AUTH_USER_MODEL,
                verbose_name='submitted by',
            ),
        ),
        # Brass
        migrations.AddField(
            model_name='brass',
            name='status',
            field=models.CharField(
                choices=[('PENDING', 'Pending Verification'), ('VERIFIED', 'Verified'), ('REJECTED', 'Rejected')],
                default='VERIFIED', max_length=10, verbose_name='status',
            ),
        ),
        migrations.AddField(
            model_name='brass',
            name='submitted_by',
            field=models.ForeignKey(
                blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL,
                related_name='submitted_brasss', to=settings.AUTH_USER_MODEL,
                verbose_name='submitted by',
            ),
        ),
        # Bullet
        migrations.AddField(
            model_name='bullet',
            name='status',
            field=models.CharField(
                choices=[('PENDING', 'Pending Verification'), ('VERIFIED', 'Verified'), ('REJECTED', 'Rejected')],
                default='VERIFIED', max_length=10, verbose_name='status',
            ),
        ),
        migrations.AddField(
            model_name='bullet',
            name='submitted_by',
            field=models.ForeignKey(
                blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL,
                related_name='submitted_bullets', to=settings.AUTH_USER_MODEL,
                verbose_name='submitted by',
            ),
        ),
        # Powder
        migrations.AddField(
            model_name='powder',
            name='status',
            field=models.CharField(
                choices=[('PENDING', 'Pending Verification'), ('VERIFIED', 'Verified'), ('REJECTED', 'Rejected')],
                default='VERIFIED', max_length=10, verbose_name='status',
            ),
        ),
        migrations.AddField(
            model_name='powder',
            name='submitted_by',
            field=models.ForeignKey(
                blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL,
                related_name='submitted_powders', to=settings.AUTH_USER_MODEL,
                verbose_name='submitted by',
            ),
        ),
    ]
