# Generated by Django 2.0.2 on 2018-03-04 19:37 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("gym", "0005_auto_20180304_1025")] operations = [ migrations.CreateModel( name="Unit", fields=[ ( "id", models.AutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ("name", models.CharField(max_length=50, verbose_name="nom")), ], options={"verbose_name": "unité", "verbose_name_plural": "unités"}, ), migrations.AddField( model_name="theoreticalmax", name="unit", field=models.ForeignKey( null=True, on_delete=django.db.models.deletion.PROTECT, to="gym.Unit", verbose_name="unité", ), ), ]