62 lines
1.8 KiB
Python

# Generated by Django 5.0.3 on 2025-01-16 18:10
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="OpenAIAssistant",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"name",
models.CharField(
help_text="Unique name of the assistant",
max_length=100,
unique=True,
),
),
(
"description",
models.TextField(
blank=True,
help_text="Description of the assistant's behavior",
null=True,
),
),
(
"api_key",
models.CharField(
help_text="API key for accessing OpenAI services",
max_length=200,
),
),
(
"assistant_id",
models.CharField(
blank=True,
help_text="Optional assistant ID for advanced workflows",
max_length=100,
null=True,
),
),
("created_at", models.DateTimeField(auto_now_add=True)),
("updated_at", models.DateTimeField(auto_now=True)),
],
),
]