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


class Migration(migrations.Migration):

    dependencies = [
        ('events', '0025_create_initial_session_types'),
    ]

    operations = [
        # Skip fields that already exist in the database
        # Only add the session_type field which is missing
        migrations.AddField(
            model_name='proposal',
            name='session_type',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='events.sessiontype', help_text='Type of session you are proposing'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='proposal',
            name='abstract',
            field=models.TextField(help_text='Provide a clear and concise description of your presentation'),
        ),
        migrations.AlterField(
            model_name='proposal',
            name='additional_notes',
            field=models.TextField(blank=True, help_text='Any additional information you\'d like to share with the reviewers'),
        ),
        migrations.AlterField(
            model_name='proposal',
            name='supporting_document',
            field=models.FileField(blank=True, help_text='Additional supporting documents (PDF format)', null=True, upload_to='proposal_documents/'),
        ),
    ]
