# Generated by Django 2.2.7 on 2022-08-04 06:35 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('pingcap_sso', '0112_auto_20220802_1403'), ] operations = [ migrations.AddField( model_name='user', name='company_verified_status', field=models.SmallIntegerField(choices=[(0, 'unverified'), (1, 'pending'), (2, 'pass')], default=0), ), migrations.CreateModel( name='CompanyVerifyApplication', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('company_name', models.CharField(max_length=128)), ('job_title_code', models.CharField(max_length=64)), ('job_title_text', models.CharField(max_length=64)), ('verification_method', models.SmallIntegerField(choices=[(0, 'email'), (1, 'incumbency cert')], default=0)), ('email', models.EmailField(blank=True, max_length=254, null=True)), ('status', models.SmallIntegerField(choices=[(0, 'pending'), (1, 'approved'), (2, 'rejected')], default=0)), ('reason', models.CharField(blank=True, max_length=256, null=True)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('incumbency_cert', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='pingcap_sso.Upload')), ('reviewer', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='company_verify_applications_reviewed', to=settings.AUTH_USER_MODEL)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL)), ], options={ 'db_table': 'pingcap_company_verify_applications', }, ), ]