# Generated by Django 6.0.1 on 2026-02-11 06:48

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


class Migration(migrations.Migration):

    dependencies = [
        ('community', '0001_initial'),
        ('shop', '0025_vccourse_alter_courseenrollment_course_and_more'),
    ]

    operations = [
        migrations.AddField(
            model_name='topic',
            name='related_course',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='shop.vccourse', verbose_name='关联课程'),
        ),
        migrations.AddField(
            model_name='topic',
            name='related_service',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='shop.service', verbose_name='关联服务'),
        ),
        migrations.AlterField(
            model_name='topic',
            name='related_product',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='shop.esp32config', verbose_name='关联硬件'),
        ),
    ]
