Skip to content

Commit

Permalink
Merge pull request #2 from lccvufal/v2.0.0
Browse files Browse the repository at this point in the history
feat#89: fix oidc-auth migrations
  • Loading branch information
alissontenorio authored Mar 22, 2024
2 parents 93ddafd + 65b4cc5 commit d3a7171
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions oidc_auth/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ class Migration(migrations.Migration):
('sub', models.CharField(unique=True, max_length=255)),
('access_token', models.CharField(max_length=255)),
('refresh_token', models.CharField(max_length=255)),
('issuer', models.ForeignKey(to='oidc_auth.OpenIDProvider')),
('user', models.OneToOneField(related_name='oidc_account', to=settings.AUTH_USER_MODEL)),
('issuer', models.ForeignKey(to='oidc_auth.OpenIDProvider',
on_delete=models.PROTECT)),
('user', models.OneToOneField(related_name='oidc_account',
on_delete=models.PROTECT,
to=settings.AUTH_USER_MODEL)),
],
),
]

0 comments on commit d3a7171

Please sign in to comment.