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.
44 lines
1.9 KiB
44 lines
1.9 KiB
# Generated by Django 5.0.6 on 2024-07-05 07:51
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('skyonnadmin', '0019_alter_subcompanydetails_gst_no_and_more'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Client',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('parent_company', models.CharField(max_length=255)),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='JobPosting',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('JobID', models.CharField(max_length=100, unique=True)),
|
|
('Location', models.CharField(max_length=255)),
|
|
('SPOC', models.CharField(max_length=255)),
|
|
('SPOC2', models.CharField(blank=True, max_length=255, null=True)),
|
|
('StartDate', models.DateField()),
|
|
('CloseDate', models.DateField()),
|
|
('BudgetMin', models.DecimalField(decimal_places=2, max_digits=10)),
|
|
('BudgetMax', models.DecimalField(decimal_places=2, max_digits=10)),
|
|
('Header', models.CharField(max_length=255)),
|
|
('job_description', models.TextField()),
|
|
('Type', models.CharField(max_length=50)),
|
|
('Experience_in_Yrs', models.CharField(max_length=50)),
|
|
('NoOfPosting', models.IntegerField()),
|
|
('SpecialInstructions', models.TextField(blank=True, null=True)),
|
|
('JD', models.FileField(upload_to='JD/')),
|
|
('Client', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='skyonnadmin.client')),
|
|
],
|
|
),
|
|
]
|