31 lines
1.2 KiB
Python
31 lines
1.2 KiB
Python
# Generated by Django 5.2.7 on 2025-10-10 10:35
|
|
|
|
import django.db.models.deletion
|
|
import django_ckeditor_5.fields
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('recruitment', '0003_candidate_is_resume_parsed_and_more'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='jobposting',
|
|
name='description',
|
|
field=django_ckeditor_5.fields.CKEditor5Field(help_text='Full job description including responsibilities and requirements'),
|
|
),
|
|
migrations.CreateModel(
|
|
name='JobPostingImage',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('post_image', models.ImageField(height_field='photo_height', upload_to='post/', width_field='photo_width')),
|
|
('post_image_height', models.PositiveIntegerField(blank=True, null=True)),
|
|
('post_image_width', models.PositiveIntegerField(blank=True, null=True)),
|
|
('job', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='post_images', to='recruitment.jobposting')),
|
|
],
|
|
),
|
|
]
|