Files
RosterChief/features/migrations/0003_jobrun.py
Bernard Siebens adf1120358 Checkpoint: management app redesign, onboarding/signup workflow, and events calendar backend
Large uncommitted body of work accumulated across sessions on this branch --
committing as a checkpoint so it's tracked and future worktree-isolated agents
see the real codebase instead of a stale ancestor commit. Covers the
management app's dedicated Tailwind theme and templates, the club onboarding
requirement/signup workflow (club/services/onboarding.py, requirement/status
models, sign-up dashboard), fee/status auto-activation decoupling, referee
management, and the new events calendar grid service layer.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ECGMEwrc2k4D8VQuwjstj9
2026-08-19 23:34:43 +02:00

35 lines
1.7 KiB
Python

# Generated by Django 6.0.6 on 2026-08-16 14:01
import uuid
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('features', '0002_maintenance'),
]
operations = [
migrations.CreateModel(
name='JobRun',
fields=[
('created', models.DateTimeField(auto_now_add=True, verbose_name='created')),
('modified', models.DateTimeField(auto_now=True, verbose_name='modified')),
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('task_id', models.CharField(max_length=255, unique=True, verbose_name='task id')),
('name', models.CharField(help_text='Dotted Celery task name, e.g. billing.tasks.renew_subscriptions.', max_length=255, verbose_name='task name')),
('status', models.CharField(choices=[('started', 'Started'), ('success', 'Success'), ('failure', 'Failed')], default='started', max_length=10, verbose_name='status')),
('started_at', models.DateTimeField(verbose_name='started at')),
('finished_at', models.DateTimeField(blank=True, null=True, verbose_name='finished at')),
('detail', models.TextField(blank=True, help_text='What the task returned, on success.', verbose_name='detail')),
('error', models.TextField(blank=True, help_text='What the task raised, on failure.', verbose_name='error')),
],
options={
'verbose_name': 'job run',
'verbose_name_plural': 'job runs',
'ordering': ['-started_at'],
},
),
]