Reservant-inc / reservant-backend

API for the app
1 stars 0 forks source link

Nie działa końcówka DELETE /my-restaurants/{id} #98

Closed skrapi2011 closed 3 months ago

skrapi2011 commented 3 months ago

Z poziomu użytkownika JD nie można usunąć żadnej restauracji, dostajemy zwrotkę 500 Internal Server Error.

Sprawdziłem również u siebie na lokalnej bazie, dostaję wtedy pełen komunikat błędu: The association between entity types 'Restaurant' and 'Employment' has been severed, but the relationship is either marked as required or is implicitly required because the foreign key is not nullable.

image