# Generated by Django 4.2.2 on 2025-12-23 16:43

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('iclock', '0025_alter_biodata_bio_type'),
    ]

    operations = [
        migrations.SeparateDatabaseAndState(
            state_operations=[
                migrations.RenameIndex(
                    model_name='transaction',
                    new_name='iclock_tran_company_645c14_idx',
                    old_fields=('company', 'punch_time'),
                ),
            ],
            database_operations=[],  # 空列表，完全不操作数据库
        ),        
        migrations.AlterField(
            model_name='terminal',
            name='product_type',
            field=models.SmallIntegerField(blank=True, choices=[(9, 'deviceModel_option_attendance'), (5, 'deviceModel_option_accessController'), (8, 'deviceModel_option_informationScreen'), (31, 'deviceModel_option_AICamera'), (9, 'deviceModel_option_attendance')], default=9, editable=False, null=True, verbose_name='terminal_field_productType'),
        ),
        migrations.AddIndex(
            model_name='transaction',
            index=models.Index(fields=['punch_time'], name='iclock_tran_punch_t_9f2bae_idx'),
        ),
    ]
