Add choices on Song.state

This commit is contained in:
Daan Sprenkels
2018-11-23 16:26:21 +01:00
parent ecd5537eaf
commit 84bf2653c2
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 2.1.2 on 2018-11-23 15:25
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('queues', '0006_state_db_index'),
]
operations = [
migrations.AlterField(
model_name='playlistsong',
name='state',
field=models.IntegerField(choices=[(0, 'Queued'), (1, 'Playing'), (2, 'Played'), (3, 'Cancelled')], db_index=True, default=0),
),
]