mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
fix: revert relationship link change
Fixes issue where migrations will not run on MySQL
This commit is contained in:
@@ -9,18 +9,4 @@ class Migration(migrations.Migration):
|
||||
('people', '0024_remove_age_gender'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveConstraint(
|
||||
model_name='relationship',
|
||||
name='unique_relationship',
|
||||
),
|
||||
migrations.RenameField(
|
||||
model_name='relationship',
|
||||
old_name='target',
|
||||
new_name='target_person',
|
||||
),
|
||||
migrations.AddConstraint(
|
||||
model_name='relationship',
|
||||
constraint=models.UniqueConstraint(fields=('source', 'target_person'), name='unique_relationship'),
|
||||
),
|
||||
]
|
||||
operations = []
|
||||
|
||||
Reference in New Issue
Block a user