Plain is headed towards 1.0! Subscribe for development updates →

 1# Generated by Plain 0.63.0 on 2025-09-15 21:29
 2
 3from plain import models
 4from plain.models import migrations
 5
 6
 7class Migration(migrations.Migration):
 8    dependencies = [
 9        ("plainworker", "0002_job_span_id_job_trace_id_jobrequest_span_id_and_more"),
10    ]
11
12    operations = [
13        migrations.RenameModel(
14            old_name="Job",
15            new_name="JobProcess",
16        ),
17        migrations.RemoveIndex(
18            model_name="jobresult",
19            name="plainworker_job_uui_8307d1_idx",
20        ),
21        migrations.RenameField(
22            model_name="jobresult",
23            old_name="job_uuid",
24            new_name="job_process_uuid",
25        ),
26        migrations.RenameIndex(
27            model_name="jobprocess",
28            new_name="plainworker_created_0d3928_idx",
29            old_name="plainworker_created_a02317_idx",
30        ),
31        migrations.RenameIndex(
32            model_name="jobprocess",
33            new_name="plainworker_queue_2550ba_idx",
34            old_name="plainworker_queue_077806_idx",
35        ),
36        migrations.RenameIndex(
37            model_name="jobprocess",
38            new_name="plainworker_unique__9dc0bb_idx",
39            old_name="plainworker_unique__04d87b_idx",
40        ),
41        migrations.RenameIndex(
42            model_name="jobprocess",
43            new_name="plainworker_started_b80ec5_idx",
44            old_name="plainworker_started_143df5_idx",
45        ),
46        migrations.RenameIndex(
47            model_name="jobprocess",
48            new_name="plainworker_job_cla_fe2b70_idx",
49            old_name="plainworker_job_cla_884b46_idx",
50        ),
51        migrations.RenameIndex(
52            model_name="jobprocess",
53            new_name="plainworker_job_req_357898_idx",
54            old_name="plainworker_job_req_db2681_idx",
55        ),
56        migrations.RenameIndex(
57            model_name="jobprocess",
58            new_name="plainworker_trace_i_da2cfa_idx",
59            old_name="plainworker_trace_i_d2b645_idx",
60        ),
61        migrations.AddIndex(
62            model_name="jobresult",
63            index=models.Index(
64                fields=["job_process_uuid"], name="plainworker_job_pro_ceabfb_idx"
65            ),
66        ),
67    ]