This commit is contained in:
Trey t
2023-06-26 15:51:16 -05:00
parent 15c0047fba
commit 0006b8bd2a
3 changed files with 19 additions and 1 deletions

Binary file not shown.

View File

@@ -0,0 +1,18 @@
# Generated by Django 4.2.2 on 2023-06-26 20:51
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('exercise', '0005_alter_exercise_description'),
]
operations = [
migrations.AlterField(
model_name='exercise',
name='name',
field=models.CharField(blank=True, max_length=512, null=True),
),
]

View File

@@ -5,7 +5,7 @@ from django.conf import settings
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)
name = models.CharField(null=True, blank=True, max_length=512)
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)