Spaces:
Runtime error
Runtime error
File size: 1,420 Bytes
ffd36e0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # Generated by Django 6.0.4 on 2026-04-20 17:36
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='UserCheckpointProgress',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('completed_at', models.DateTimeField(blank=True, null=True)),
],
),
migrations.CreateModel(
name='UserProgress',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('status', models.CharField(choices=[('NOT_STARTED', 'Not Started'), ('IN_PROGRESS', 'In Progress'), ('COMPLETED', 'Completed')], default='NOT_STARTED', max_length=20)),
('progress', models.IntegerField(default=0, help_text='0-100. Derived from checkpoint rollup when checkpoints exist, else manual slider.', validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(100)])),
('started_at', models.DateTimeField(blank=True, null=True)),
('completed_at', models.DateTimeField(blank=True, null=True)),
],
),
]
|