# Generated by Django 6.0.1 on 2026-02-13 16:07

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('shop', '0029_fix_legacy_fields'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='esp32config',
            options={'ordering': ['order'], 'verbose_name': '硬件配置 (小智参数)', 'verbose_name_plural': '硬件配置 (小智参数)'},
        ),
        migrations.AlterModelOptions(
            name='service',
            options={'ordering': ['order'], 'verbose_name': 'AI服务', 'verbose_name_plural': 'AI服务管理'},
        ),
        migrations.AlterModelOptions(
            name='vccourse',
            options={'ordering': ['order'], 'verbose_name': 'VC课程', 'verbose_name_plural': 'VC课程管理'},
        ),
        migrations.AddField(
            model_name='esp32config',
            name='order',
            field=models.IntegerField(default=0, help_text='数字越小越靠前', verbose_name='排序权重'),
        ),
        migrations.AddField(
            model_name='service',
            name='order',
            field=models.IntegerField(default=0, help_text='数字越小越靠前', verbose_name='排序权重'),
        ),
        migrations.AddField(
            model_name='vccourse',
            name='order',
            field=models.IntegerField(default=0, help_text='数字越小越靠前', verbose_name='排序权重'),
        ),
        migrations.AlterField(
            model_name='order',
            name='config',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='orders', to='shop.esp32config', verbose_name='所选配置'),
        ),
    ]
