It's time to prepare the module for trash management. A deleted_at column should be added and used by the visible scope. Add the deleted and not_deleted scopes. Add a is_deleted getter. Maybe add a restore() method to restore a deleted record from the trash.
It's time to prepare the module for trash management. A
deleted_atcolumn should be added and used by thevisiblescope. Add thedeletedandnot_deletedscopes. Add ais_deletedgetter. Maybe add arestore()method to restore a deleted record from the trash.