Optimize-The-Drive / optimize-the-drive

0 stars 0 forks source link

No cascade delete for trips/jwts #58

Closed natedunn2230 closed 5 months ago

natedunn2230 commented 5 months ago

currently if a user is deleted, their respective trips aren't deleted as well. Add a migration script and fix the model code to ensure there is a cascade delete on those items.

See: https://stackoverflow.com/questions/5033547/sqlalchemy-cascade-delete