DMGT-TECH / the-usher-server

Authorization server. The Usher looks at your ticket and tells you where you're authorized to go.
MIT License
11 stars 6 forks source link

Refactor permissions table to have foreign key to clients table with cascade delete #86

Closed mikelax closed 8 months ago

mikelax commented 10 months ago

Feature Overview

Is your feature request related to a problem? Please describe. In this comment it was discussed that the column permissions.clientkey is not actually a foreign key to the clients table.

Describe the solution you'd like This column should be updated to be a true foreign key with the on delete cascade clause to match other clientkey foreign keys.

Additional context

Add any other context or screenshots about the feature request here.