repos
/ status-django master

status-django

mirror archived upstream

Self-hostable uptime monitor and status page on Django: HTTP checks, Lighthouse audits, SEO crawls, and email and Discord alerts.

djangodockerhandcodedpythonself-hostedsqlitestatus-pageuptime-monitoringvite

2.2 KB · 75 lines · Python Raw History
 1# Generated by Django 6.0.4 on 2026-04-16 23:39
 2
 3from django.db import migrations, models
 4
 5
 6class Migration(migrations.Migration):
 7
 8    dependencies = [
 9        ("properties", "0009_check_properties__propert_b3e3ac_idx"),
10    ]
11
12    operations = [
13        migrations.AddField(
14            model_name="property",
15            name="crawl_started_at",
16            field=models.DateTimeField(blank=True, null=True),
17        ),
18        migrations.AddField(
19            model_name="property",
20            name="crawl_state",
21            field=models.CharField(
22                choices=[
23                    ("idle", "Idle"),
24                    ("queued", "Queued"),
25                    ("running", "Running"),
26                ],
27                default="idle",
28                max_length=10,
29            ),
30        ),
31        migrations.AddField(
32            model_name="property",
33            name="last_crawl_duration_ms",
34            field=models.IntegerField(blank=True, null=True),
35        ),
36        migrations.AddField(
37            model_name="property",
38            name="last_crawl_error",
39            field=models.TextField(blank=True, null=True),
40        ),
41        migrations.AddField(
42            model_name="property",
43            name="last_crawl_pages_count",
44            field=models.IntegerField(blank=True, null=True),
45        ),
46        migrations.AddField(
47            model_name="property",
48            name="last_crawl_success_at",
49            field=models.DateTimeField(blank=True, null=True),
50        ),
51        migrations.AddField(
52            model_name="property",
53            name="last_lighthouse_duration_ms",
54            field=models.IntegerField(blank=True, null=True),
55        ),
56        migrations.AddField(
57            model_name="property",
58            name="lighthouse_started_at",
59            field=models.DateTimeField(blank=True, null=True),
60        ),
61        migrations.AddField(
62            model_name="property",
63            name="lighthouse_state",
64            field=models.CharField(
65                choices=[
66                    ("idle", "Idle"),
67                    ("queued", "Queued"),
68                    ("running", "Running"),
69                ],
70                default="idle",
71                max_length=10,
72            ),
73        ),
74    ]