Designs tab: Deleting a design doesn't actually delete [Backend 2: Migration + scopes]
About
This is one of four issues for the backend implementation of #38048.
Tasks
- PG migration to add column to signal deleted status for designs*
- Update
DesignsFinder
to scope out deleted designs by default - Update associations to use the deleted scope
*Note the spec for the deleted column hasn't been decided, but refer to this thread #38048 (comment 294336036). Recording the deleted_at
timestamp may give us the most flexibility in future. Adding a deleted_by_user_id
may also be a good idea.
Edited by Luke Duncalfe