diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54d8c3f..7c66932 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,11 +11,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10', '3.11'] + python-version: ['3.11'] django-version: ['4.1', '4.2', 'dev'] - exclude: - - python-version: '3.10' - django-version: 'dev' services: mysql: image: mysql:latest diff --git a/edc_data_manager/migrations/0030_alter_datadictionary_device_created_and_more.py b/edc_data_manager/migrations/0030_alter_datadictionary_device_created_and_more.py new file mode 100644 index 0000000..82f68b8 --- /dev/null +++ b/edc_data_manager/migrations/0030_alter_datadictionary_device_created_and_more.py @@ -0,0 +1,231 @@ +# Generated by Django 4.2.4 on 2023-08-23 01:13 + +import _socket +from django.db import migrations, models +import django_audit_fields.fields.hostname_modification_field + + +class Migration(migrations.Migration): + dependencies = [ + ("edc_data_manager", "0029_alter_dataquery_managers"), + ] + + operations = [ + migrations.AlterField( + model_name="datadictionary", + name="device_created", + field=models.CharField(blank=True, max_length=10, verbose_name="Device created"), + ), + migrations.AlterField( + model_name="datadictionary", + name="device_modified", + field=models.CharField(blank=True, max_length=10, verbose_name="Device modified"), + ), + migrations.AlterField( + model_name="datadictionary", + name="hostname_created", + field=models.CharField( + blank=True, + default=_socket.gethostname, + help_text="System field. (modified on create only)", + max_length=60, + verbose_name="Hostname created", + ), + ), + migrations.AlterField( + model_name="datadictionary", + name="hostname_modified", + field=django_audit_fields.fields.hostname_modification_field.HostnameModificationField( + blank=True, + help_text="System field. (modified on every save)", + max_length=50, + verbose_name="Hostname modified", + ), + ), + migrations.AlterField( + model_name="dataquery", + name="device_created", + field=models.CharField(blank=True, max_length=10, verbose_name="Device created"), + ), + migrations.AlterField( + model_name="dataquery", + name="device_modified", + field=models.CharField(blank=True, max_length=10, verbose_name="Device modified"), + ), + migrations.AlterField( + model_name="dataquery", + name="hostname_created", + field=models.CharField( + blank=True, + default=_socket.gethostname, + help_text="System field. (modified on create only)", + max_length=60, + verbose_name="Hostname created", + ), + ), + migrations.AlterField( + model_name="dataquery", + name="hostname_modified", + field=django_audit_fields.fields.hostname_modification_field.HostnameModificationField( + blank=True, + help_text="System field. (modified on every save)", + max_length=50, + verbose_name="Hostname modified", + ), + ), + migrations.AlterField( + model_name="edcpermissions", + name="device_created", + field=models.CharField(blank=True, max_length=10, verbose_name="Device created"), + ), + migrations.AlterField( + model_name="edcpermissions", + name="device_modified", + field=models.CharField(blank=True, max_length=10, verbose_name="Device modified"), + ), + migrations.AlterField( + model_name="edcpermissions", + name="hostname_created", + field=models.CharField( + blank=True, + default=_socket.gethostname, + help_text="System field. (modified on create only)", + max_length=60, + verbose_name="Hostname created", + ), + ), + migrations.AlterField( + model_name="edcpermissions", + name="hostname_modified", + field=django_audit_fields.fields.hostname_modification_field.HostnameModificationField( + blank=True, + help_text="System field. (modified on every save)", + max_length=50, + verbose_name="Hostname modified", + ), + ), + migrations.AlterField( + model_name="historicaldatadictionary", + name="device_created", + field=models.CharField(blank=True, max_length=10, verbose_name="Device created"), + ), + migrations.AlterField( + model_name="historicaldatadictionary", + name="device_modified", + field=models.CharField(blank=True, max_length=10, verbose_name="Device modified"), + ), + migrations.AlterField( + model_name="historicaldatadictionary", + name="hostname_created", + field=models.CharField( + blank=True, + default=_socket.gethostname, + help_text="System field. (modified on create only)", + max_length=60, + verbose_name="Hostname created", + ), + ), + migrations.AlterField( + model_name="historicaldatadictionary", + name="hostname_modified", + field=django_audit_fields.fields.hostname_modification_field.HostnameModificationField( + blank=True, + help_text="System field. (modified on every save)", + max_length=50, + verbose_name="Hostname modified", + ), + ), + migrations.AlterField( + model_name="historicaldataquery", + name="device_created", + field=models.CharField(blank=True, max_length=10, verbose_name="Device created"), + ), + migrations.AlterField( + model_name="historicaldataquery", + name="device_modified", + field=models.CharField(blank=True, max_length=10, verbose_name="Device modified"), + ), + migrations.AlterField( + model_name="historicaldataquery", + name="hostname_created", + field=models.CharField( + blank=True, + default=_socket.gethostname, + help_text="System field. (modified on create only)", + max_length=60, + verbose_name="Hostname created", + ), + ), + migrations.AlterField( + model_name="historicaldataquery", + name="hostname_modified", + field=django_audit_fields.fields.hostname_modification_field.HostnameModificationField( + blank=True, + help_text="System field. (modified on every save)", + max_length=50, + verbose_name="Hostname modified", + ), + ), + migrations.AlterField( + model_name="historicalqueryrule", + name="device_created", + field=models.CharField(blank=True, max_length=10, verbose_name="Device created"), + ), + migrations.AlterField( + model_name="historicalqueryrule", + name="device_modified", + field=models.CharField(blank=True, max_length=10, verbose_name="Device modified"), + ), + migrations.AlterField( + model_name="historicalqueryrule", + name="hostname_created", + field=models.CharField( + blank=True, + default=_socket.gethostname, + help_text="System field. (modified on create only)", + max_length=60, + verbose_name="Hostname created", + ), + ), + migrations.AlterField( + model_name="historicalqueryrule", + name="hostname_modified", + field=django_audit_fields.fields.hostname_modification_field.HostnameModificationField( + blank=True, + help_text="System field. (modified on every save)", + max_length=50, + verbose_name="Hostname modified", + ), + ), + migrations.AlterField( + model_name="queryrule", + name="device_created", + field=models.CharField(blank=True, max_length=10, verbose_name="Device created"), + ), + migrations.AlterField( + model_name="queryrule", + name="device_modified", + field=models.CharField(blank=True, max_length=10, verbose_name="Device modified"), + ), + migrations.AlterField( + model_name="queryrule", + name="hostname_created", + field=models.CharField( + blank=True, + default=_socket.gethostname, + help_text="System field. (modified on create only)", + max_length=60, + verbose_name="Hostname created", + ), + ), + migrations.AlterField( + model_name="queryrule", + name="hostname_modified", + field=django_audit_fields.fields.hostname_modification_field.HostnameModificationField( + blank=True, + help_text="System field. (modified on every save)", + max_length=50, + verbose_name="Hostname modified", + ), + ), + ]