Coverage for crateweb/consent/migrations/0010_auto_20180629_1238.py: 100%
4 statements
« prev ^ index » next coverage.py v7.8.0, created at 2025-08-27 10:34 -0500
« prev ^ index » next coverage.py v7.8.0, created at 2025-08-27 10:34 -0500
1"""
2crate_anon/crateweb/consent/migrations/0010_auto_20180629_1238.py
4===============================================================================
6 Copyright (C) 2015, University of Cambridge, Department of Psychiatry.
7 Created by Rudolf Cardinal (rnc1001@cam.ac.uk).
9 This file is part of CRATE.
11 CRATE is free software: you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
16 CRATE is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with CRATE. If not, see <https://www.gnu.org/licenses/>.
24===============================================================================
26**Consent app, migration 0010.**
28"""
30# Generated by Django 2.0.6 on 2018-06-29 12:38
32from django.db import migrations, models
35class Migration(migrations.Migration):
37 dependencies = [
38 ("consent", "0009_auto_20180629_1132"),
39 ]
41 operations = [
42 # ConsentMode
43 migrations.AddField(
44 model_name="consentmode",
45 name="needs_processing",
46 field=models.BooleanField(
47 default=False
48 ), # thus protecting old data from reprocessing
49 ),
50 migrations.AddField(
51 model_name="consentmode",
52 name="processed",
53 field=models.BooleanField(default=False),
54 ),
55 migrations.AddField(
56 model_name="consentmode",
57 name="processed_at",
58 field=models.DateTimeField(null=True),
59 ),
60 migrations.AddField(
61 model_name="consentmode",
62 name="skip_letter_to_patient",
63 field=models.BooleanField(default=False),
64 ),
65 ]