themblem/api/products/migrations/0082_camerarule.py
2025-03-01 20:40:38 +00:00

26 lines
1017 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Generated by Django 3.2.23 on 2024-01-20 21:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('products', '0081_cameraconfig_populate'),
]
operations = [
migrations.CreateModel(
name='CameraRule',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=128, verbose_name='规则名称')),
('model_text', models.TextField(verbose_name='机型字符串')),
('zoom', models.IntegerField(default=4, verbose_name='放大倍数')),
('use_web_view', models.BooleanField(default=False, verbose_name='使用web-viewiPhone微距')),
('disabled', models.BooleanField(default=False, verbose_name='禁用')),
('notes', models.TextField(null=True, verbose_name='备注信息')),
],
),
]