fix
This commit is contained in:
18
prompt/migrations/0003_add_message_source.py
Normal file
18
prompt/migrations/0003_add_message_source.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 6.0.1 on 2026-03-31 07:10
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('prompt', '0002_message_prompt_level'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='message',
|
||||
name='source',
|
||||
field=models.CharField(default='ai', max_length=10),
|
||||
),
|
||||
]
|
||||
18
prompt/migrations/0004_update_message_source_default.py
Normal file
18
prompt/migrations/0004_update_message_source_default.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 6.0.1 on 2026-03-31 07:24
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('prompt', '0003_add_message_source'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='message',
|
||||
name='source',
|
||||
field=models.CharField(default='conversation', max_length=12),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user