WIP
This commit is contained in:
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
18
exercise/migrations/0006_alter_exercise_name.py
Normal file
18
exercise/migrations/0006_alter_exercise_name.py
Normal 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),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -5,7 +5,7 @@ from django.conf import settings
|
|||||||
class Exercise(models.Model):
|
class Exercise(models.Model):
|
||||||
created_at = models.DateTimeField(auto_now_add=True)
|
created_at = models.DateTimeField(auto_now_add=True)
|
||||||
updated_at = models.DateTimeField(auto_now=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)
|
description = models.CharField(null=True, blank=True, max_length=1024)
|
||||||
side = models.CharField(null=True, blank=True, max_length=64)
|
side = models.CharField(null=True, blank=True, max_length=64)
|
||||||
is_two_dumbbells = models.BooleanField(default=False)
|
is_two_dumbbells = models.BooleanField(default=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user