aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/migrations/0002_auto_20201021_1551.py
blob: bb9659eda4a2b291475b506d4ecc8f40ef5f4628 (plain) (blame)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Generated by Django 3.1.2 on 2020-10-21 15:51

import ctrack.caf.models
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('caf', '0001_initial'),
        ('organisations', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='filestore',
            name='physical_location_organisation',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.organisation'),
        ),
        migrations.AddField(
            model_name='essentialservice',
            name='organisation',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.organisation'),
        ),
        migrations.AddField(
            model_name='essentialservice',
            name='systems',
            field=models.ManyToManyField(to='caf.ApplicableSystem'),
        ),
        migrations.AddField(
            model_name='documentfile',
            name='file_store_location',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='caf.filestore'),
        ),
        migrations.AddField(
            model_name='caf',
            name='confidence_grading',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='confidence_grading', to='caf.grading'),
        ),
        migrations.AddField(
            model_name='caf',
            name='file',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='caf.documentfile'),
        ),
        migrations.AddField(
            model_name='caf',
            name='organisation',
            field=models.ForeignKey(on_delete=models.SET(ctrack.caf.models.CAF.get_sentinel_org), to='organisations.organisation'),
        ),
        migrations.AddField(
            model_name='caf',
            name='quality_grading',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='quality_grading', to='caf.grading'),
        ),
        migrations.AddField(
            model_name='caf',
            name='systems',
            field=models.ManyToManyField(to='caf.ApplicableSystem'),
        ),
        migrations.AddField(
            model_name='caf',
            name='triage_review_inspector',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='organisations.person'),
        ),
    ]