diff --git a/smash/web/migrations/0106_approaching_post_mail_list_update.py b/smash/web/migrations/0106_approaching_post_mail_list_update.py index 3ee301f0aa6634a1ea9e6bfc41d0ed2667cebd6e..1f37f6cde747d5834a083dd87c3733cb60415d2d 100644 --- a/smash/web/migrations/0106_approaching_post_mail_list_update.py +++ b/smash/web/migrations/0106_approaching_post_mail_list_update.py @@ -13,7 +13,7 @@ def create_default_columns_for_VISIT_LIST_APPROACHING_FOR_MAIL_CONTACT(apps, sch subject_columns.first_name = True subject_columns.last_name = True subject_columns.languages = False - subject_columns.default_written_communication_language = False + subject_columns.default_written_communication_langua0106_approaching_post_mail_list_updatege = False subject_columns.phone_number = False subject_columns.phone_number_2 = False subject_columns.phone_number_3 = False diff --git a/smash/web/migrations/0107_exceeded_visit_time_list_update.py b/smash/web/migrations/0107_exceeded_visit_time_list_update.py new file mode 100644 index 0000000000000000000000000000000000000000..ba11f28c6a9fdb0b26f329f6624c76890e078224 --- /dev/null +++ b/smash/web/migrations/0107_exceeded_visit_time_list_update.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.7 on 2018-02-14 10:26 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ('web', '0104_contact_required_list_update'), + ] + + operations = [ + migrations.RunSQL( + 'UPDATE web_studycolumns SET nd_number=TRUE, type=TRUE WHERE id IN ' + + '(SELECT visible_study_subject_columns_id FROM web_studyvisitlist WHERE type = \'EXCEEDED_TIME\');'), + ]