1# Generated by Plain 5.0.dev20240117193239 on 2024-01-17 19:41
2
3from plain import models
4from plain.models import migrations
5
6
7class Migration(migrations.Migration):
8 dependencies = [
9 ("plainworker", "0013_alter_job_options_alter_jobresult_options_and_more"),
10 ]
11
12 operations = [
13 migrations.AddField(
14 model_name="job",
15 name="unique_key",
16 field=models.CharField(blank=True, db_index=True, max_length=255),
17 ),
18 migrations.AddField(
19 model_name="jobrequest",
20 name="unique_key",
21 field=models.CharField(blank=True, db_index=True, max_length=255),
22 ),
23 migrations.AddField(
24 model_name="jobresult",
25 name="unique_key",
26 field=models.CharField(blank=True, db_index=True, max_length=255),
27 ),
28 migrations.AddIndex(
29 model_name="job",
30 index=models.Index(
31 fields=["job_class", "unique_key"], name="job_class_unique_key"
32 ),
33 ),
34 migrations.AddIndex(
35 model_name="jobrequest",
36 index=models.Index(
37 fields=["job_class", "unique_key"], name="job_request_class_unique_key"
38 ),
39 ),
40 ]