This commit is contained in:
Trey t
2023-07-02 20:36:27 -05:00
parent 41632fd2aa
commit e8b429d813
3 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
# Generated by Django 4.2.2 on 2023-07-03 01:36
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('workout', '0010_alter_plannedworkout_on_date'),
]
operations = [
migrations.AlterField(
model_name='completedworkout',
name='notes',
field=models.TextField(blank=True, null=True),
),
]

View File

@@ -70,7 +70,7 @@ class CompletedWorkout(models.Model):
)
total_time = models.IntegerField(null=True, blank=True)
workout_start_time = models.DateTimeField(null=False, blank=False)
notes = models.TextField(null=False, blank=False)
notes = models.TextField(null=True, blank=True)
total_calories = models.FloatField(null=True, blank=True)
def __str__(self):