35 lines
1.0 KiB
Python
35 lines
1.0 KiB
Python
# Generated migration for factory app
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('factory', '0004_rename_brand_to_short_name'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='factory',
|
|
name='unified_social_credit_code',
|
|
field=models.CharField(blank=True, max_length=18, null=True, verbose_name='统一社会信用代码'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='factory',
|
|
name='cooperation_mode',
|
|
field=models.CharField(
|
|
blank=True,
|
|
choices=[('direct', '厂家直供'), ('authorized', '授权代理商')],
|
|
max_length=20,
|
|
null=True,
|
|
verbose_name='合作模式',
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name='factory',
|
|
name='interaction_capability',
|
|
field=models.TextField(blank=True, null=True, verbose_name='交互能力'),
|
|
),
|
|
]
|