# Generated by Django 5.2.8 on 2025-12-11 16:28

from django.conf import settings
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('schedule', '0033_remove_service_deposit_amount_remove_service_price_and_more'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.AddField(
            model_name='timeblock',
            name='purpose',
            field=models.CharField(choices=[('CLOSURE', 'Business Closure (holiday, vacation)'), ('UNAVAILABLE', 'Resource Unavailable (time off, maintenance)'), ('BUSINESS_HOURS', 'Business Operating Hours (outside hours blocked)'), ('OTHER', 'Other (general blocking)')], db_index=True, default='OTHER', help_text='Purpose of this time block', max_length=20),
        ),
        migrations.AddIndex(
            model_name='timeblock',
            index=models.Index(fields=['purpose', 'is_active'], name='schedule_ti_purpose_02bdce_idx'),
        ),
    ]
