Use single db migration script for transcribe model, related updates

This commit is contained in:
Debanjum Singh Solanky 2023-11-26 01:55:59 -08:00
parent 28090216f6
commit 897170ab15
2 changed files with 10 additions and 15 deletions

View file

@ -1,12 +0,0 @@
# Generated by Django 4.2.7 on 2023-11-26 06:50
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("database", "0020_reflectivequestion"),
("database", "0020_speechtotextmodeloptions_and_more"),
]
operations: list = []

View file

@ -1,11 +1,11 @@
# Generated by Django 4.2.7 on 2023-11-22 08:51
# Generated by Django 4.2.7 on 2023-11-26 09:37
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("database", "0019_alter_googleuser_family_name_and_more"),
("database", "0020_reflectivequestion"),
]
operations = [
@ -30,6 +30,13 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name="chatmodeloptions",
name="chat_model",
field=models.CharField(default="gpt-4", max_length=200),
field=models.CharField(default="mistral-7b-instruct-v0.1.Q4_0.gguf", max_length=200),
),
migrations.AlterField(
model_name="chatmodeloptions",
name="model_type",
field=models.CharField(
choices=[("openai", "Openai"), ("offline", "Offline")], default="offline", max_length=200
),
),
]