workout/gym/migrations/0007_auto_20180313_0857.py

23 lines
603 B
Python

# Generated by Django 2.0.2 on 2018-03-13 07:57
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('gym', '0006_auto_20180304_2037'),
]
operations = [
migrations.RemoveField(
model_name='theoreticalmax',
name='unit',
),
migrations.AddField(
model_name='equipment',
name='unit',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='gym.Unit', verbose_name='unité'),
),
]