renaming related_name for reverse query for model instance metadata class
@@ -14,7 +14,7 @@ from .model_program import ModelProgramLogicalFile
class ModelInstanceFileMetaData(GenericFileMetaDataMixin):
has_model_output = models.BooleanField(default=False)
executed_by = models.ForeignKey(ModelProgramLogicalFile, null=True, blank=True, on_delete=models.SET_NULL,
- related_name="model_instances")
+ related_name="mi_metadata_objects")
# additional metadata in json format based on metadata schema of the related (executed_by)
# model program aggregation
metadata_json = JSONField(default=dict)
