# Generated by Django 5.2 on 2025-07-28 08:55

import core.utils
from django.conf import settings
from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("core", "0035_alter_brand_slug_alter_category_slug_and_more"),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.AddField(
            model_name="vendor",
            name="b2b_auth_token",
            field=models.CharField(
                blank=True,
                default=core.utils.generate_human_readable_token,
                max_length=20,
                null=True,
            ),
        ),
        migrations.AddField(
            model_name="vendor",
            name="users",
            field=models.ManyToManyField(blank=True, related_name="vendors", to=settings.AUTH_USER_MODEL),
        ),
    ]
