mirror of
https://github.com/paralus/paralus.git
synced 2026-05-07 08:56:42 +00:00
When we soft delete oidc provider entry which we are doing for delete provider API endpoint, we cannot create new oidc provider entry with a same name due to unique constraint violation on name. Applying unique constraint to name,trash will allow to create new oidc provider entry with a same name, but fail on deleting that entry because it violates unique constraint. Hence this commit adds unique constraint to (id,name) combined.