# Generated by Django 5.2 on 2025-04-21 10:30

import django.db.models.deletion
import wagtail.fields
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('about', '0001_initial'),
        ('wagtailimages', '0027_image_description'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='aboutpage',
            name='timeline',
        ),
        migrations.AddField(
            model_name='aboutpage',
            name='bio_details',
            field=wagtail.fields.RichTextField(blank=True, help_text='Additional details about your expertise and approach'),
        ),
        migrations.AddField(
            model_name='aboutpage',
            name='education',
            field=wagtail.fields.StreamField([('education', 3)], blank=True, block_lookup={0: ('wagtail.blocks.CharBlock', (), {'required': True}), 1: ('wagtail.blocks.CharBlock', (), {'help_text': 'e.g. 2011-2015', 'required': True}), 2: ('wagtail.blocks.TextBlock', (), {'required': True}), 3: ('wagtail.blocks.StructBlock', [[('degree', 0), ('institution', 0), ('period', 1), ('description', 2)]], {})}),
        ),
        migrations.AddField(
            model_name='aboutpage',
            name='personal_info',
            field=wagtail.fields.RichTextField(blank=True, help_text='Personal interests and activities outside of work'),
        ),
        migrations.AddField(
            model_name='aboutpage',
            name='profile_image',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image'),
        ),
        migrations.AddField(
            model_name='aboutpage',
            name='skills',
            field=wagtail.fields.StreamField([('skill_category', 4)], blank=True, block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': 'Category name (e.g. Frontend, Backend)', 'required': True}), 1: ('wagtail.blocks.CharBlock', (), {'help_text': 'Skill name (e.g. React, Django)', 'required': True}), 2: ('wagtail.blocks.StructBlock', [[('name', 1)]], {}), 3: ('wagtail.blocks.ListBlock', (2,), {}), 4: ('wagtail.blocks.StructBlock', [[('name', 0), ('skills', 3)]], {})}),
        ),
        migrations.AddField(
            model_name='aboutpage',
            name='work_experience',
            field=wagtail.fields.StreamField([('experience', 3)], blank=True, block_lookup={0: ('wagtail.blocks.CharBlock', (), {'required': True}), 1: ('wagtail.blocks.CharBlock', (), {'help_text': 'e.g. 2022 - Present', 'required': True}), 2: ('wagtail.blocks.TextBlock', (), {'required': True}), 3: ('wagtail.blocks.StructBlock', [[('role', 0), ('company', 0), ('period', 1), ('description', 2)]], {})}),
        ),
        migrations.AlterField(
            model_name='aboutpage',
            name='bio',
            field=models.TextField(help_text='A brief introduction about yourself'),
        ),
    ]
