# Generated manually on 2025-09-06 00:10

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('rog', '0013_add_competition_status_fields'),
    ]

    operations = [
        migrations.AddField(
            model_name='gpslog',
            name='external_registration_status',
            field=models.CharField(
                choices=[
                    ('pending', 'Pending'),
                    ('success', 'Success'), 
                    ('failed', 'Failed'),
                    ('retry', 'Retry Required')
                ],
                default='pending',
                help_text='外部システム登録状況',
                max_length=20
            ),
        ),
        migrations.AddField(
            model_name='gpslog',
            name='external_registration_attempts',
            field=models.IntegerField(default=0, help_text='外部システム登録試行回数'),
        ),
        migrations.AddField(
            model_name='gpslog',
            name='external_registration_error',
            field=models.TextField(blank=True, help_text='外部システム登録エラー詳細', null=True),
        ),
        migrations.AddField(
            model_name='gpslog',
            name='last_external_registration_attempt',
            field=models.DateTimeField(blank=True, help_text='最後の外部システム登録試行時刻', null=True),
        ),
        migrations.AddField(
            model_name='gpslog',
            name='team_name',
            field=models.CharField(blank=True, help_text='チーム名（外部システム登録用）', max_length=255, null=True),
        ),
        migrations.AddField(
            model_name='gpslog',
            name='category_name',
            field=models.CharField(blank=True, help_text='カテゴリ名（外部システム登録用）', max_length=255, null=True),
        ),
        migrations.AddField(
            model_name='gpslog',
            name='user_password_hash',
            field=models.TextField(blank=True, help_text='ユーザーパスワードハッシュ（外部システム登録用）', null=True),
        ),
    ]
