aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/migrations/0020_auto_20200217_2124.py
blob: 918efdba3815dbd1a60e1b3208455ffd3c9a3f9c (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# Generated by Django 2.2.9 on 2020-02-17 21:24

import datetime
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('organisations', '0019_organisation_active'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='person',
            name='name',
        ),
        migrations.AddField(
            model_name='person',
            name='active',
            field=models.BooleanField(default=True),
        ),
        migrations.AddField(
            model_name='person',
            name='clearance',
            field=models.IntegerField(choices=[(1, 'NA'), (2, 'BPSS'), (3, 'CTC'), (4, 'SC'), (5, 'DV'), (6, 'Other')], default=1),
        ),
        migrations.AddField(
            model_name='person',
            name='clearance_expiry',
            field=models.DateField(blank=True, default=datetime.datetime(2020, 2, 17, 21, 22, 59, 545682)),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='person',
            name='clearance_last_checked',
            field=models.DateField(blank=True, default=datetime.datetime(2020, 2, 17, 21, 23, 6, 797385)),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='person',
            name='clearance_sponsor',
            field=models.ForeignKey(blank=True, default=1, on_delete=django.db.models.deletion.CASCADE, to='organisations.Person'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='person',
            name='clearance_start_date',
            field=models.DateField(blank=True, default=datetime.datetime(2020, 2, 17, 21, 23, 40, 808513)),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='person',
            name='comments',
            field=models.TextField(default='NA', max_length=1000),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='person',
            name='date_ended',
            field=models.DateField(blank=True, default=datetime.datetime(2020, 2, 17, 21, 23, 53, 114873)),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='person',
            name='date_updated',
            field=models.DateField(auto_now=True),
        ),
        migrations.AddField(
            model_name='person',
            name='first_name',
            field=models.CharField(default='Malcolm', max_length=50),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='person',
            name='has_egress',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='person',
            name='job_title',
            field=models.CharField(default='Firestarter', max_length=100),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='person',
            name='last_name',
            field=models.CharField(default='Holis-Grander', max_length=50),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='person',
            name='predecessor',
            field=models.ForeignKey(blank=True, default=1, on_delete=django.db.models.deletion.CASCADE, related_name='previous_person', to='organisations.Person'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='person',
            name='primary_nis_contact',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='person',
            name='secondary_email',
            field=models.EmailField(blank=True, max_length=254),
        ),
        migrations.AddField(
            model_name='person',
            name='title',
            field=models.IntegerField(choices=[(1, 'Mr'), (2, 'Mrs'), (3, 'Miss'), (4, 'Ms'), (5, 'Dr.'), (6, 'Professor'), (7, 'The Rt Hon.'), (8, 'Lord'), (9, 'Lady')], default=1),
        ),
        migrations.AddField(
            model_name='person',
            name='updated_by',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='person',
            name='voluntary_point_of_contact',
            field=models.BooleanField(default=False),
        ),
    ]