CareSet / DURC

DURC is reverse CRUD
MIT License
3 stars 2 forks source link

Added soft deletes with confirmation and undo (#7) #36

Closed kchapple closed 6 years ago

kchapple commented 6 years ago

Added Soft Delete functionality to Generated Controllers, Models and Views where there is a possible deleted_at column in the database. Added restore route where appropriate added delete and restore functionality to views Added test_soft_delete SQL Added Anytime to DURC assets directory Added form.js for delete functionality on view to support delete and restore action Told DURC service provider to publish those public assets to public folder when the artisan publish command is run Added line to README for that

NOTE there's a known issue that the deleted_at column must be nullable to comply with Laravel. If the field is not nullable like in the northwind_model.customer table, Laravel throws exception.