# Generated by Django 3.2.9 on 2025-08-29 08:56

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('rog', '0002_fix_all_model_defaults'),
    ]

    operations = [
        migrations.RemoveIndex(
            model_name='gpscheckin',
            name='idx_zekken_event',
        ),
        migrations.AddField(
            model_name='gpscheckin',
            name='checkin_time',
            field=models.DateTimeField(blank=True, help_text='チェックイン時刻（実テーブルフィールド）', null=True),
        ),
        migrations.AddField(
            model_name='gpscheckin',
            name='team_name',
            field=models.CharField(blank=True, help_text='チーム名（実テーブルフィールド）', max_length=255, null=True),
        ),
        migrations.AddField(
            model_name='gpscheckin',
            name='zekken',
            field=models.CharField(blank=True, help_text='ゼッケン番号（実テーブルフィールド名に合わせて修正）', max_length=20, null=True),
        ),
        migrations.AlterField(
            model_name='gpscheckin',
            name='zekken_number',
            field=models.TextField(default='', help_text='ゼッケン番号（後方互換性のため残す）'),
        ),
        migrations.AddIndex(
            model_name='gpscheckin',
            index=models.Index(fields=['zekken', 'event_code', 'path_order'], name='idx_zekken_event'),
        ),
        migrations.AlterModelTable(
            name='gpscheckin',
            table='rog_gpscheckin',
        ),
    ]
