workout/gym/migrations/0007_auto_20180313_0857.py

24 lines
632 B
Python
Raw Normal View History

2018-03-13 09:06:28 +01:00
# 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):
2019-06-23 15:39:13 +02:00
dependencies = [("gym", "0006_auto_20180304_2037")]
2018-03-13 09:06:28 +01:00
operations = [
2019-06-23 15:39:13 +02:00
migrations.RemoveField(model_name="theoreticalmax", name="unit"),
2018-03-13 09:06:28 +01:00
migrations.AddField(
2019-06-23 15:39:13 +02:00
model_name="equipment",
name="unit",
field=models.ForeignKey(
null=True,
on_delete=django.db.models.deletion.PROTECT,
to="gym.Unit",
verbose_name="unité",
),
2018-03-13 09:06:28 +01:00
),
]