diff --git a/allianceauth/authentication/migrations/0015_user_profiles.py b/allianceauth/authentication/migrations/0015_user_profiles.py index 06e7422f..6eb25cb8 100644 --- a/allianceauth/authentication/migrations/0015_user_profiles.py +++ b/allianceauth/authentication/migrations/0015_user_profiles.py @@ -111,7 +111,7 @@ def populate_ownerships(apps, schema_editor): for t in ts: if t.refresh_token: # find newest refreshable token and use it as basis for CharacterOwnership - CharacterOwnership.objecs.create_by_token(t) + CharacterOwnership.objects.create_by_token(t) break