-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎨 Remove reverse relationship from Source to biorecord (#105)
- Loading branch information
Showing
3 changed files
with
145 additions
and
4 deletions.
There are no files selected for viewing
143 changes: 143 additions & 0 deletions
143
bionty/migrations/0039_alter_cellline_source_alter_cellmarker_source_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,143 @@ | ||
# Generated by Django 5.2 on 2024-09-09 11:43 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("bionty", "0038_alter_artifactcellline_created_by_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="cellline", | ||
name="source", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="+", | ||
to="bionty.source", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="cellmarker", | ||
name="source", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="+", | ||
to="bionty.source", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="celltype", | ||
name="source", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="+", | ||
to="bionty.source", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="developmentalstage", | ||
name="source", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="+", | ||
to="bionty.source", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="disease", | ||
name="source", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="+", | ||
to="bionty.source", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="ethnicity", | ||
name="source", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="+", | ||
to="bionty.source", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="experimentalfactor", | ||
name="source", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="+", | ||
to="bionty.source", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="gene", | ||
name="source", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="+", | ||
to="bionty.source", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="organism", | ||
name="source", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="+", | ||
to="bionty.source", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="pathway", | ||
name="source", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="+", | ||
to="bionty.source", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="phenotype", | ||
name="source", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="+", | ||
to="bionty.source", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="protein", | ||
name="source", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="+", | ||
to="bionty.source", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="tissue", | ||
name="source", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="+", | ||
to="bionty.source", | ||
), | ||
), | ||
] |
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
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