WIP
This commit is contained in:
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
18
workout/migrations/0011_alter_completedworkout_notes.py
Normal file
18
workout/migrations/0011_alter_completedworkout_notes.py
Normal 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),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -70,7 +70,7 @@ class CompletedWorkout(models.Model):
|
|||||||
)
|
)
|
||||||
total_time = models.IntegerField(null=True, blank=True)
|
total_time = models.IntegerField(null=True, blank=True)
|
||||||
workout_start_time = models.DateTimeField(null=False, blank=False)
|
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)
|
total_calories = models.FloatField(null=True, blank=True)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user