You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
4.4 KiB

8 months ago
# Generated by Django 4.2.11 on 2024-03-18 07:10
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('skyonnadmin', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Contact',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('first_name', models.CharField(max_length=50)),
('last_name', models.CharField(max_length=50)),
('phone_no1', models.CharField(max_length=20)),
('phone_no2', models.CharField(blank=True, max_length=20, null=True)),
('company_email', models.EmailField(max_length=254)),
('designation', models.CharField(max_length=100)),
('department', models.CharField(max_length=100)),
],
),
migrations.CreateModel(
name='SubcompanyDetails',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('parent_company', models.CharField(max_length=100)),
('sub_company', models.CharField(max_length=100)),
('location', models.CharField(max_length=100)),
('department', models.CharField(max_length=100)),
('gst_no', models.CharField(max_length=50)),
('address', models.CharField(max_length=200)),
('client_id', models.CharField(max_length=20, null=True)),
('admin_first_name', models.CharField(max_length=50)),
('admin_last_name', models.CharField(max_length=50)),
('admin_phone_no1', models.CharField(max_length=20)),
('admin_phone_no2', models.CharField(blank=True, max_length=20, null=True)),
('admin_company_email', models.EmailField(max_length=254)),
('admin_designation', models.CharField(max_length=100, null=True)),
('admin_department', models.CharField(max_length=100, null=True)),
('admin_location', models.CharField(max_length=100, null=True)),
('accounts_contacts', models.ManyToManyField(related_name='subcompany_accounts_contacts', to='skyonnadmin.contact')),
('admin_contacts', models.ManyToManyField(related_name='subcompany_admin_contacts', to='skyonnadmin.contact')),
('hr_contacts', models.ManyToManyField(related_name='subcompany_hr_contacts', to='skyonnadmin.contact')),
('recruiter_contacts', models.ManyToManyField(related_name='subcompany_recruiter_contacts', to='skyonnadmin.contact')),
],
),
migrations.CreateModel(
name='ClientDetails',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('parent_company', models.CharField(max_length=100)),
('location', models.CharField(max_length=100)),
('department', models.CharField(max_length=100)),
('gst_no', models.CharField(max_length=50)),
('address', models.CharField(max_length=200)),
('client_id', models.CharField(max_length=20, null=True)),
('admin_first_name', models.CharField(max_length=50)),
('admin_last_name', models.CharField(max_length=50)),
('admin_phone_no1', models.CharField(max_length=20)),
('admin_phone_no2', models.CharField(blank=True, max_length=20, null=True)),
('admin_company_email', models.EmailField(max_length=254)),
('admin_designation', models.CharField(max_length=100, null=True)),
('admin_department', models.CharField(max_length=100, null=True)),
('admin_location', models.CharField(max_length=100, null=True)),
('accounts_contacts', models.ManyToManyField(related_name='accounts_contacts', to='skyonnadmin.contact')),
('admin_contacts', models.ManyToManyField(related_name='admin_contacts', to='skyonnadmin.contact')),
('hr_contacts', models.ManyToManyField(related_name='hr_contacts', to='skyonnadmin.contact')),
('recruiter_contacts', models.ManyToManyField(related_name='recruiter_contacts', to='skyonnadmin.contact')),
],
),
]