mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-10 11:32:22 +01:00
queues: Add an index on PlaylistSong.state
This commit is contained in:
18
marietje/queues/migrations/0006_state_db_index.py
Normal file
18
marietje/queues/migrations/0006_state_db_index.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 2.0.4 on 2018-04-09 15:44
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('queues', '0005_playlistsong_played_at'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='playlistsong',
|
||||
name='state',
|
||||
field=models.IntegerField(db_index=True, default=0),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user