forked from kongfp/TP_Admin
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.
36 lines
1.2 KiB
Python
36 lines
1.2 KiB
Python
2 years ago
|
# Generated by Django 3.2.19 on 2023-05-29 14:46
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
2 years ago
|
('app', '0002_auto_20230526_1003'),
|
||
2 years ago
|
]
|
||
|
|
||
|
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(max_length=50)),
|
||
|
('event_type', models.IntegerField()),
|
||
|
('is_violation', models.BooleanField()),
|
||
|
('small_image', models.CharField(max_length=50)),
|
||
|
('relative_time', models.FloatField()),
|
||
|
('video_dir', models.CharField(max_length=50)),
|
||
|
('car_number', models.CharField(max_length=50)),
|
||
|
('ai_analysis', models.CharField(max_length=255)),
|
||
|
('add_time', models.DateTimeField()),
|
||
|
('update_time', models.DateTimeField()),
|
||
|
('is_display', models.BooleanField()),
|
||
|
],
|
||
|
),
|
||
|
migrations.DeleteModel(
|
||
|
name='MyModel',
|
||
|
),
|
||
|
]
|