jaysylvester / comitium

Forum software for Node.js
MIT License
0 stars 1 forks source link

Post soft delete #220

Open jaysylvester opened 1 year ago

jaysylvester commented 1 year ago

Posts are currently moved from the posts table to posts_trash table when deleted, and the new user cleanup feature performs an actual delete operation (dangerous). It would be cleaner to add a "visible" or "deleted" column to the posts table and just leave the posts in place.

Posts in the posts_trash table can be moved back to the posts table as part of this update.