Skip to content

Commit

Permalink
Fix project permission migration unique error
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell committed Jan 30, 2025
1 parent 9ea58fa commit 554eb3a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ def insert_default_project_permissions(apps, schema_model):

PermissionModel.objects.get_or_create(
key=MANAGE_PROJECT_LEVEL_CHANGE_REQUESTS,
description=manage_description,
type=PROJECT_PERMISSION_TYPE,
defaults={"description": manage_description}
)
PermissionModel.objects.get_or_create(
key=APPROVE_PROJECT_LEVEL_CHANGE_REQUESTS,
description=approve_description,
type=PROJECT_PERMISSION_TYPE,
defaults={"description": approve_description}
)


Expand Down

0 comments on commit 554eb3a

Please sign in to comment.