WIP
This commit is contained in:
18
exercise/migrations/0005_alter_exercise_description.py
Normal file
18
exercise/migrations/0005_alter_exercise_description.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.2.2 on 2023-06-26 20:48
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercise', '0004_remove_exercise_duration'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='exercise',
|
||||
name='description',
|
||||
field=models.CharField(blank=True, max_length=1024, null=True),
|
||||
),
|
||||
]
|
||||
@@ -6,7 +6,7 @@ class Exercise(models.Model):
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
updated_at = models.DateTimeField(auto_now=True)
|
||||
name = models.CharField(null=True, blank=True, max_length=64)
|
||||
description = models.CharField(null=True, blank=True, max_length=255)
|
||||
description = models.CharField(null=True, blank=True, max_length=1024)
|
||||
side = models.CharField(null=True, blank=True, max_length=64)
|
||||
is_two_dumbbells = models.BooleanField(default=False)
|
||||
is_trackable_distance = models.BooleanField(default=False)
|
||||
|
||||
Reference in New Issue
Block a user