# Generated by Django 4.1.13 on 2025-10-03 02:18

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('recharge', '0019_alter_rechargeplan_unique_together'),
    ]

    operations = [
        migrations.CreateModel(
            name='ROfferCache',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('provider_source', models.CharField(default='Goter', max_length=20)),
                ('operator_code', models.CharField(db_index=True, max_length=10)),
                ('number', models.CharField(db_index=True, max_length=30)),
                ('offers', models.JSONField(blank=True, null=True)),
                ('last_payload', models.JSONField(blank=True, null=True)),
                ('lookups', models.PositiveIntegerField(default=0)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
            options={
                'unique_together': {('operator_code', 'number')},
            },
        ),
        migrations.CreateModel(
            name='DTHInfoMap',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('provider_source', models.CharField(default='Goter', max_length=20)),
                ('operator_code', models.CharField(db_index=True, max_length=10)),
                ('number', models.CharField(db_index=True, max_length=30)),
                ('account_name', models.CharField(blank=True, max_length=120, null=True)),
                ('status_message', models.CharField(blank=True, max_length=200, null=True)),
                ('last_payload', models.JSONField(blank=True, null=True)),
                ('lookups', models.PositiveIntegerField(default=0)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
            options={
                'unique_together': {('operator_code', 'number')},
            },
        ),
    ]
