# Generated by Django 4.1.9 on 2023-07-19 21:26 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('common', '0001_initial'), ] operations = [ migrations.CreateModel( name='Company', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('legal_name', models.CharField(max_length=256)), ('trade_name', models.CharField(max_length=256)), ('cin', models.CharField(max_length=64)), ('cin_proof', models.FileField(null=True, upload_to='company_proofs/')), ('gstin', models.CharField(max_length=16)), ('gstin_proof', models.FileField(null=True, upload_to='company_proofs/')), ('date_of_incorporation', models.DateField()), ('date_of_incorporation_proof', models.FileField(null=True, upload_to='company_proofs/')), ('pan', models.CharField(max_length=16)), ('pan_proof', models.FileField(null=True, upload_to='company_proofs/')), ('iec', models.CharField(max_length=16)), ('iec_proof', models.FileField(null=True, upload_to='company_proofs/')), ('msme_code', models.CharField(max_length=64)), ('msme_proof', models.FileField(null=True, upload_to='company_proofs/')), ('provident_fund_code_number', models.CharField(max_length=32)), ('provident_fund_code_number_proof', models.FileField(null=True, upload_to='company_proofs/')), ('se_registration_number', models.CharField(max_length=32)), ('se_registration_number_proof', models.FileField(null=True, upload_to='company_proofs/')), ('phone_number', models.CharField(max_length=13)), ('support_email', models.EmailField(max_length=254, null=True, unique=True)), ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='common.address')), ('nature_of_business', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='common.natureofbusiness')), ], options={ 'db_table': 'company', }, ), ]