# Generated by Django 3.2.22 on 2024-02-21 03:19

from django.db import migrations, models


from NEMO.apps.nemo_ce.migration_utils import NEMOMigration


class Migration(NEMOMigration):

    dependencies = [
        ("NEMO", "0056_version_5_2_0"),
        ("nemo_ce", "0016_ce_precursor_config_allow_duplicates"),
    ]

    operations = [
        migrations.AddField(
            model_name="tooltrainingdetail",
            name="message_placeholder",
            field=models.CharField(
                blank=True,
                help_text="The placeholder for the user's message when submitting a training request. Leave blank to use the default",
                max_length=255,
                null=True,
            ),
        ),
        migrations.AddField(
            model_name="tooltrainingdetail",
            name="user_message_required",
            field=models.BooleanField(
                default=False, help_text="Check this box to require users to submit a message when requesting training"
            ),
        ),
        migrations.AlterField(
            model_name="tooltrainingdetail",
            name="capacity",
            field=models.PositiveIntegerField(
                blank=True,
                help_text="The maximum number of attendees when training for this tool. Leave blank to use the default",
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="tooltrainingdetail",
            name="duration",
            field=models.PositiveIntegerField(
                blank=True,
                help_text="The training duration for this tool in minutes. Leave blank to use the default",
                null=True,
            ),
        ),
    ]
