35 lines
1.1 KiB
Python
35 lines
1.1 KiB
Python
# Generated by Django 3.2.6 on 2021-08-31 21:10
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('cookbook', '0150_food_to_tree'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveIndex(
|
|
model_name='cooklog',
|
|
name='cookbook_co_id_37485a_idx',
|
|
),
|
|
migrations.RemoveIndex(
|
|
model_name='viewlog',
|
|
name='cookbook_vi_recipe__5cd178_idx',
|
|
),
|
|
migrations.AlterField(
|
|
model_name='userpreference',
|
|
name='search_style',
|
|
field=models.CharField(choices=[('SMALL', 'Small'), ('LARGE', 'Large'), ('NEW', 'New')], default='NEW', max_length=64),
|
|
),
|
|
migrations.AddIndex(
|
|
model_name='cooklog',
|
|
index=models.Index(fields=['id', 'recipe', '-created_at', 'rating', 'created_by'], name='cookbook_co_id_93d841_idx'),
|
|
),
|
|
migrations.AddIndex(
|
|
model_name='viewlog',
|
|
index=models.Index(fields=['recipe', '-created_at', 'created_by'], name='cookbook_vi_recipe__1b051f_idx'),
|
|
),
|
|
]
|