# Generated by Django 3.2.11 on 2022-02-09 20:25

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


class Migration(migrations.Migration):

    dependencies = [
        ('products', '0002_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='pagetemplate',
            name='name',
            field=models.CharField(blank=True, db_index=True, max_length=128, null=True),
        ),
        migrations.AlterField(
            model_name='codebatch',
            name='code_prefix',
            field=models.CharField(max_length=64, verbose_name='序列码前缀'),
        ),
        migrations.AlterField(
            model_name='codebatch',
            name='datetime',
            field=models.DateTimeField(auto_now=True, verbose_name='创建日期'),
        ),
        migrations.AlterField(
            model_name='codebatch',
            name='product',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='batches', to='products.product', verbose_name='产品'),
        ),
        migrations.AlterField(
            model_name='codebatch',
            name='qr_angle',
            field=models.FloatField(default=0.0, verbose_name='网线角度'),
        ),
        migrations.AlterField(
            model_name='productpage',
            name='html',
            field=models.TextField(default='<span class="no-content">no content</span>'),
        ),
    ]
