35 lines
1.1 KiB
Python
35 lines
1.1 KiB
Python
# Generated by Django 5.2.4 on 2025-07-22 08:37
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('haikalbot', '0001_initial'),
|
|
('inventory', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='chatlog',
|
|
name='dealer',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='chatlogs', to='inventory.dealer'),
|
|
),
|
|
migrations.AddIndex(
|
|
model_name='analysiscache',
|
|
index=models.Index(fields=['prompt_hash', 'dealer_id'], name='haikalbot_a_prompt__b98e1e_idx'),
|
|
),
|
|
migrations.AddIndex(
|
|
model_name='analysiscache',
|
|
index=models.Index(fields=['expires_at'], name='haikalbot_a_expires_e790cd_idx'),
|
|
),
|
|
migrations.AddIndex(
|
|
model_name='chatlog',
|
|
index=models.Index(fields=['dealer', 'timestamp'], name='haikalbot_c_dealer__6f8d63_idx'),
|
|
),
|
|
]
|