Skip to content

Commit

Permalink
migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Usman4862 committed Mar 2, 2023
1 parent 5cf9799 commit 8b5a034
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion recruiters/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.1.7 on 2023-03-01 08:51
# Generated by Django 4.1.7 on 2023-03-02 07:41

from django.conf import settings
from django.db import migrations, models
Expand Down Expand Up @@ -27,4 +27,22 @@ class Migration(migrations.Migration):
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='Recruiter')),
],
),
migrations.CreateModel(
name='JobPost',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('job_title', models.CharField(max_length=50)),
('job_description', models.TextField(blank=True, max_length=150, null=True)),
('required_skills', models.CharField(choices=[('Py', 'Python'), ('React', 'React'), ('DJ', 'Django'), ('FLASK', 'Flask'), ('HTML', 'Html'), ('CSS', 'CSS')], max_length=50)),
('number_of_positions', models.PositiveIntegerField()),
('job_location', models.CharField(max_length=30)),
('minimum_qualification_required', models.CharField(choices=[('matric', 'Matric'), ('inter', 'Intermediate'), ('BS', 'BSCS'), ('Master-in-Math', 'Master in Math'), ('S-Engineering', 'Sofware Engineering')], max_length=20)),
('required_experience', models.CharField(max_length=30)),
('minimum_salary', models.PositiveIntegerField()),
('maximum_salary', models.PositiveIntegerField()),
('salary_visibility', models.BooleanField(default=True)),
('gender_prefrences', models.CharField(choices=[('M', 'Male'), ('F', 'Female'), ('O', 'Others')], max_length=20)),
('recruiter', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='recruiters.recruiter')),
],
),
]

0 comments on commit 8b5a034

Please sign in to comment.