# Generated manually for ClubOrderGrabLink

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('jituan', '0015_club_recharge_page_copy'),
    ]

    operations = [
        migrations.CreateModel(
            name='ClubOrderGrabLink',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('grabber_club_id', models.CharField(db_index=True, max_length=16, verbose_name='抢单方俱乐部')),
                ('order_club_id', models.CharField(db_index=True, max_length=16, verbose_name='被抢订单所属俱乐部')),
                ('CreateTime', models.DateTimeField(auto_now_add=True)),
            ],
            options={
                'verbose_name': '俱乐部订单互通抢单',
                'db_table': 'club_order_grab_link',
                'unique_together': {('grabber_club_id', 'order_club_id')},
            },
        ),
        migrations.AddIndex(
            model_name='clubordergrablink',
            index=models.Index(fields=['grabber_club_id'], name='idx_cogl_grabber'),
        ),
        migrations.AddIndex(
            model_name='clubordergrablink',
            index=models.Index(fields=['order_club_id'], name='idx_cogl_order'),
        ),
    ]
