-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc685db
commit 8ce0f58
Showing
8 changed files
with
749 additions
and
42 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
chord_metadata_service/chord/migrations/0006_remove_tableownership_dataset.py
This file was deleted.
Oops, something went wrong.
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
22 changes: 0 additions & 22 deletions
22
chord_metadata_service/chord/migrations/0007_delete_table_delete_tableownership.py
This file was deleted.
Oops, something went wrong.
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
39 changes: 39 additions & 0 deletions
39
...data_service/experiments/migrations/0008_alter_experiment_experiment_ontology_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,39 @@ | ||
# Generated by Django 4.2.5 on 2023-09-11 20:17 | ||
|
||
import chord_metadata_service.restapi.validators | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('experiments', '0007_v4_0_0'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='experiment', | ||
name='experiment_ontology', | ||
field=models.JSONField(blank=True, default=list, help_text='Links to experiment ontology information (e.g. via the OBI ontology.).', validators=[chord_metadata_service.restapi.validators.JsonSchemaValidator({'$id': 'file:///chord_metadata_service/restapi/ontology_class_list', '$schema': 'http://json-schema.org/draft-07/schema#', 'description': 'Ontology class list', 'items': {'$id': 'file:///chord_metadata_service/restapi/ontology_class', '$schema': 'http://json-schema.org/draft-07/schema#', 'additionalProperties': False, 'description': 'An ontology term.', 'help': 'An ontology term.', 'properties': {'id': {'$id': 'file:///chord_metadata_service/restapi/ontology_class/id', 'description': 'A CURIE-style identifier for an ontology term.', 'help': 'A CURIE-style identifier for an ontology term.', 'type': 'string'}, 'label': {'$id': 'file:///chord_metadata_service/restapi/ontology_class/label', 'description': 'A human readable class name for an ontology term.', 'help': 'A human readable class name for an ontology term.', 'type': 'string'}}, 'required': ['id', 'label'], 'title': 'Ontology class schema', 'type': 'object'}, 'title': 'Ontology class list', 'type': 'array'}, formats=None)]), | ||
), | ||
migrations.AlterField( | ||
model_name='experiment', | ||
name='extra_properties', | ||
field=models.JSONField(blank=True, default=dict, help_text='Extra properties that are not supported by current schema.', validators=[chord_metadata_service.restapi.validators.JsonSchemaValidator({'$id': 'file:///chord_metadata_service/restapi/key_value_object', '$schema': 'http://json-schema.org/draft-07/schema#', 'additionalProperties': False, 'description': 'The schema represents a key-value object.', 'patternProperties': {'^.*$': {'type': 'string'}}, 'title': 'Key-value object', 'type': 'object'}, formats=None)]), | ||
), | ||
migrations.AlterField( | ||
model_name='experiment', | ||
name='molecule_ontology', | ||
field=models.JSONField(blank=True, default=list, help_text='Links to molecule ontology information (e.g. via the SO ontology.).', validators=[chord_metadata_service.restapi.validators.JsonSchemaValidator({'$id': 'file:///chord_metadata_service/restapi/ontology_class_list', '$schema': 'http://json-schema.org/draft-07/schema#', 'description': 'Ontology class list', 'items': {'$id': 'file:///chord_metadata_service/restapi/ontology_class', '$schema': 'http://json-schema.org/draft-07/schema#', 'additionalProperties': False, 'description': 'An ontology term.', 'help': 'An ontology term.', 'properties': {'id': {'$id': 'file:///chord_metadata_service/restapi/ontology_class/id', 'description': 'A CURIE-style identifier for an ontology term.', 'help': 'A CURIE-style identifier for an ontology term.', 'type': 'string'}, 'label': {'$id': 'file:///chord_metadata_service/restapi/ontology_class/label', 'description': 'A human readable class name for an ontology term.', 'help': 'A human readable class name for an ontology term.', 'type': 'string'}}, 'required': ['id', 'label'], 'title': 'Ontology class schema', 'type': 'object'}, 'title': 'Ontology class list', 'type': 'array'}, formats=None)]), | ||
), | ||
migrations.AlterField( | ||
model_name='experimentresult', | ||
name='extra_properties', | ||
field=models.JSONField(blank=True, default=dict, help_text='Extra properties that are not supported by current schema.', validators=[chord_metadata_service.restapi.validators.JsonSchemaValidator({'$id': 'file:///chord_metadata_service/restapi/key_value_object', '$schema': 'http://json-schema.org/draft-07/schema#', 'additionalProperties': False, 'description': 'The schema represents a key-value object.', 'patternProperties': {'^.*$': {'type': 'string'}}, 'title': 'Key-value object', 'type': 'object'}, formats=None)]), | ||
), | ||
migrations.AlterField( | ||
model_name='instrument', | ||
name='extra_properties', | ||
field=models.JSONField(blank=True, default=dict, help_text='Extra properties that are not supported by current schema.', validators=[chord_metadata_service.restapi.validators.JsonSchemaValidator({'$id': 'file:///chord_metadata_service/restapi/key_value_object', '$schema': 'http://json-schema.org/draft-07/schema#', 'additionalProperties': False, 'description': 'The schema represents a key-value object.', 'patternProperties': {'^.*$': {'type': 'string'}}, 'title': 'Key-value object', 'type': 'object'}, formats=None)]), | ||
), | ||
] |
Oops, something went wrong.