diora-web/books/migrations/0007_list_indexes.py

24 lines
654 B
Python
Raw Permalink Normal View History

# 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'),
),
]