diora-web/books/migrations/0007_list_indexes.py
mrwnslz c8e05bdb0a
Some checks failed
Build and push Docker image / build (push) Successful in 15s
Test / test (push) Successful in 9m15s
Test / e2e (push) Failing after 1m19s
Bücherliste liest nie mehr an den Dateien vorbei: Datum, gelesen, Cover aus abdeckenden Indizes (37 s → schnell; die Desktop-App gab nach 10 s auf)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 15:37:11 +02:00

23 lines
654 B
Python

# Generated by Django 6.1 on 2026-10-19 13:24
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('books', '0006_covers_and_prefs'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.AddIndex(
model_name='ebook',
index=models.Index(fields=['user', 'uploaded_at', 'is_read'], name='ebook_list_idx'),
),
migrations.AddIndex(
model_name='ebook',
index=models.Index(fields=['user', 'cover_iv'], name='ebook_cover_idx'),
),
]