forked from Yaxin/TP_API
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.2 KiB
Python
34 lines
1.2 KiB
Python
# Generated by Django 3.2.19 on 2023-06-13 14:39
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='TP',
|
|
fields=[
|
|
('uid', models.AutoField(primary_key=True, serialize=False)),
|
|
('video_hash', models.CharField(max_length=50)),
|
|
('record_time', models.DateTimeField()),
|
|
('police_id', models.CharField(blank=True, max_length=50, null=True)),
|
|
('event_type', models.CharField(max_length=50)),
|
|
('is_violation', models.BooleanField()),
|
|
('small_image', models.CharField(max_length=100)),
|
|
('relative_time', models.FloatField()),
|
|
('video_dir', models.CharField(max_length=100)),
|
|
('car_number', models.CharField(max_length=50)),
|
|
('ai_analysis', models.CharField(max_length=255)),
|
|
('add_time', models.DateTimeField(auto_now_add=True)),
|
|
('update_time', models.DateTimeField(auto_now=True)),
|
|
('is_display', models.BooleanField(default=True)),
|
|
],
|
|
),
|
|
]
|