You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.8 KiB
52 lines
1.8 KiB
|
2 weeks ago
|
# Generated by Django 4.2.7 on 2026-06-08 07:20
|
||
|
|
|
||
|
|
from django.db import migrations, models
|
||
|
|
|
||
|
|
|
||
|
|
class Migration(migrations.Migration):
|
||
|
|
|
||
|
|
initial = True
|
||
|
|
|
||
|
|
dependencies = [
|
||
|
|
]
|
||
|
|
|
||
|
|
operations = [
|
||
|
|
migrations.CreateModel(
|
||
|
|
name='AiShow',
|
||
|
|
fields=[
|
||
|
|
('id', models.AutoField(primary_key=True, serialize=False)),
|
||
|
|
('cinema', models.CharField(max_length=50)),
|
||
|
|
('zz_code', models.CharField(max_length=50)),
|
||
|
|
('show_date', models.DateField()),
|
||
|
|
('is_ai_show', models.BooleanField(default=True)),
|
||
|
|
('show', models.TextField()),
|
||
|
|
('sales', models.CharField(max_length=50)),
|
||
|
|
('prompt', models.TextField()),
|
||
|
|
('result', models.TextField()),
|
||
|
|
('message', models.TextField()),
|
||
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
||
|
|
],
|
||
|
|
options={
|
||
|
|
'verbose_name': 'AI排片数据',
|
||
|
|
'verbose_name_plural': 'AI排片数据',
|
||
|
|
'db_table': 'ai_show_result',
|
||
|
|
},
|
||
|
|
),
|
||
|
|
migrations.CreateModel(
|
||
|
|
name='TestCinema',
|
||
|
|
fields=[
|
||
|
|
('id', models.AutoField(primary_key=True, serialize=False)),
|
||
|
|
('name', models.CharField(max_length=50)),
|
||
|
|
('zz_code', models.CharField(max_length=50)),
|
||
|
|
('db_config', models.TextField()),
|
||
|
|
('user_config', models.TextField()),
|
||
|
|
('is_active', models.BooleanField(default=True)),
|
||
|
|
],
|
||
|
|
options={
|
||
|
|
'verbose_name': '测试影院',
|
||
|
|
'verbose_name_plural': '测试影院',
|
||
|
|
'db_table': 'ai_show_cinema',
|
||
|
|
},
|
||
|
|
),
|
||
|
|
]
|