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.
29 lines
870 B
29 lines
870 B
|
2 weeks ago
|
# Generated by Django 4.2.7 on 2026-06-09 02:00
|
||
|
|
|
||
|
|
from django.db import migrations, models
|
||
|
|
|
||
|
|
|
||
|
|
class Migration(migrations.Migration):
|
||
|
|
|
||
|
|
dependencies = [
|
||
|
|
('ai', '0002_aishow_take_times_aishow_take_tokens'),
|
||
|
|
]
|
||
|
|
|
||
|
|
operations = [
|
||
|
|
migrations.CreateModel(
|
||
|
|
name='PromptTemplate',
|
||
|
|
fields=[
|
||
|
|
('id', models.AutoField(primary_key=True, serialize=False)),
|
||
|
|
('prompt_type', models.CharField(max_length=50)),
|
||
|
|
('prompt_key', models.CharField(max_length=50)),
|
||
|
|
('prompt_val', models.TextField()),
|
||
|
|
('del_flag', models.BooleanField(default=False)),
|
||
|
|
],
|
||
|
|
options={
|
||
|
|
'verbose_name': '提示词',
|
||
|
|
'verbose_name_plural': '提示词',
|
||
|
|
'db_table': 'ai_prompt_template',
|
||
|
|
},
|
||
|
|
),
|
||
|
|
]
|