From 28eac94312b70e318196d0aeaf9a6ea242196df7 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sat, 23 May 2020 14:31:22 +0200 Subject: [PATCH] Store RPM in vinyles --- media/migrations/0034_vinyle_rpm.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 media/migrations/0034_vinyle_rpm.py diff --git a/media/migrations/0034_vinyle_rpm.py b/media/migrations/0034_vinyle_rpm.py new file mode 100644 index 0000000..b17a642 --- /dev/null +++ b/media/migrations/0034_vinyle_rpm.py @@ -0,0 +1,19 @@ +# Generated by Django 2.2.10 on 2020-05-23 12:20 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('media', '0033_futuremedia_type'), + ] + + operations = [ + migrations.AddField( + model_name='vinyle', + name='rpm', + field=models.PositiveIntegerField(choices=[(33, '33 RPM'), (45, '45 RPM')], default=45, verbose_name='rounds per minute'), + preserve_default=False, + ), + ]