Skip to content

Commit

Permalink
Merge pull request #6222 from specify/issue-6221
Browse files Browse the repository at this point in the history
fix migration defintion of the UserRole specifyuser relationship
  • Loading branch information
acwhite211 authored Feb 12, 2025
2 parents fa69325 + c840e01 commit b2b02a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('role', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='permissions.Role')),
('specifyuser', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
('specifyuser', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='roles', to=settings.AUTH_USER_MODEL)),
],
options={
'db_table': 'spuserrole',
Expand Down

0 comments on commit b2b02a4

Please sign in to comment.