-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from c3g/array-to-jsonfield
ArrayField to JSONField
- Loading branch information
Showing
7 changed files
with
300 additions
and
62 deletions.
There are no files selected for viewing
69 changes: 69 additions & 0 deletions
69
chord_metadata_service/chord/migrations/0011_auto_20200515_1657.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,69 @@ | ||
# Generated by Django 2.2.12 on 2020-05-15 20:57 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('chord', '0010_auto_20200309_1945'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='acknowledges', | ||
), | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='alternate_identifiers', | ||
), | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='citations', | ||
), | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='creators', | ||
), | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='dates', | ||
), | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='dimensions', | ||
), | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='distributions', | ||
), | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='keywords', | ||
), | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='licenses', | ||
), | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='linked_field_sets', | ||
), | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='primary_publications', | ||
), | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='related_identifiers', | ||
), | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='spatial_coverage', | ||
), | ||
migrations.RemoveField( | ||
model_name='dataset', | ||
name='types', | ||
), | ||
] |
84 changes: 84 additions & 0 deletions
84
chord_metadata_service/chord/migrations/0012_auto_20200515_1714.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,84 @@ | ||
# Generated by Django 2.2.12 on 2020-05-15 21:14 | ||
|
||
import django.contrib.postgres.fields.jsonb | ||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('chord', '0011_auto_20200515_1657'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='acknowledges', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='The grant(s) which funded and supported the work reported by the dataset.'), | ||
), | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='alternate_identifiers', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='Alternate identifiers for the dataset.'), | ||
), | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='citations', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='The publication(s) that cite this dataset.'), | ||
), | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='creators', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='The person(s) or organization(s) which contributed to the creation of the dataset.'), | ||
), | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='dates', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='Relevant dates for the datasets, a date must be added, e.g. creation date or last modification date should be added.'), | ||
), | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='dimensions', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='The different dimensions (granular components) making up a dataset.'), | ||
), | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='distributions', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='The distribution(s) by which datasets are made available (for example: mySQL dump).'), | ||
), | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='keywords', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='Tags associated with the dataset, which will help in its discovery.'), | ||
), | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='licenses', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='The terms of use of the dataset.'), | ||
), | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='linked_field_sets', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='Data type fields which are linked together.'), | ||
), | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='primary_publications', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='The primary publication(s) associated with the dataset, usually describing how the dataset was produced.'), | ||
), | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='related_identifiers', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='Related identifiers for the dataset.'), | ||
), | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='spatial_coverage', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='The geographical extension and span covered by the dataset and its measured dimensions/variables.'), | ||
), | ||
migrations.AddField( | ||
model_name='dataset', | ||
name='types', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=list, help_text='A term, ideally from a controlled terminology, identifying the dataset type or nature of the data, placing it in a typology.'), | ||
), | ||
] |
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
37 changes: 37 additions & 0 deletions
37
chord_metadata_service/phenopackets/migrations/0009_auto_20200515_1613.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,37 @@ | ||
# Generated by Django 2.2.12 on 2020-05-15 20:13 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('phenopackets', '0008_auto_20200514_1541'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='biosample', | ||
name='diagnostic_markers', | ||
), | ||
migrations.RemoveField( | ||
model_name='disease', | ||
name='disease_stage', | ||
), | ||
migrations.RemoveField( | ||
model_name='disease', | ||
name='tnm_finding', | ||
), | ||
migrations.RemoveField( | ||
model_name='metadata', | ||
name='external_references', | ||
), | ||
migrations.RemoveField( | ||
model_name='metadata', | ||
name='updates', | ||
), | ||
migrations.RemoveField( | ||
model_name='phenotypicfeature', | ||
name='modifier', | ||
), | ||
] |
Oops, something went wrong.