fix: revert relationship link change

Fixes issue where migrations will not run on MySQL
This commit is contained in:
James Graham
2020-12-07 17:37:47 +00:00
parent 80491623de
commit 76fcb7ceb2
3 changed files with 10 additions and 31 deletions

View File

@@ -119,7 +119,7 @@ class Person(models.Model):
'self',
related_name='relationship_sources',
through='Relationship',
through_fields=('source', 'target_person'),
through_fields=('source', 'target'),
symmetrical=False)
@property