-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/0.3.58' into main
- Loading branch information
Showing
2 changed files
with
232 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
231 changes: 231 additions & 0 deletions
231
edc_data_manager/migrations/0030_alter_datadictionary_device_created_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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", | ||
), | ||
), | ||
] |