LarsBehl / StatusAppBackend

ASP.NET Core based WebAPI exposing status information on configured services
GNU General Public License v2.0
1 stars 0 forks source link

[SAB-13] Update DB on user delete #23

Closed LarsBehl closed 2 years ago

LarsBehl commented 2 years ago

Current behaviour

An Exception is thrown because the foreign key constraint gets violated when deleting users. This happens because the delete behaviour of the users is not specified

Expected behaviour

The user gets deleted successfully. The issuer field is filled with null and the UserCreationToken where the user was generated with is deleted