init commit
This commit is contained in:
37
exercise/migrations/0001_initial.py
Normal file
37
exercise/migrations/0001_initial.py
Normal file
@@ -0,0 +1,37 @@
|
||||
# Generated by Django 4.2.2 on 2023-06-11 22:00
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Exercise',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('created_at', models.DateTimeField(auto_now_add=True)),
|
||||
('updated_at', models.DateTimeField(auto_now=True)),
|
||||
('name', models.CharField(blank=True, max_length=64, null=True)),
|
||||
('description', models.CharField(blank=True, max_length=255, null=True)),
|
||||
('side', models.CharField(blank=True, max_length=64, null=True)),
|
||||
('is_two_dumbbells', models.BooleanField(default=False)),
|
||||
('is_trackable_distance', models.BooleanField(default=False)),
|
||||
('is_alternating', models.BooleanField(default=False)),
|
||||
('is_weight', models.BooleanField(default=False)),
|
||||
('is_distance', models.BooleanField(default=False)),
|
||||
('is_duration', models.BooleanField(default=False)),
|
||||
('is_reps', models.BooleanField(default=False)),
|
||||
('joints_used', models.CharField(blank=True, max_length=255, null=True)),
|
||||
('movement_patterns', models.CharField(blank=True, max_length=255, null=True)),
|
||||
('equipment_required', models.CharField(blank=True, max_length=255, null=True)),
|
||||
('muscle_groups', models.CharField(blank=True, max_length=255, null=True)),
|
||||
('synonyms', models.CharField(blank=True, max_length=255, null=True)),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user