Skip to content
This repository has been archived by the owner on May 21, 2018. It is now read-only.

Only soft-delete posts, comments #40

Open
GautamGupta opened this issue Nov 5, 2017 · 0 comments
Open

Only soft-delete posts, comments #40

GautamGupta opened this issue Nov 5, 2017 · 0 comments
Assignees

Comments

@GautamGupta
Copy link
Member

We should never have to run a DELETE command. Instead, let's use a boolean deleted column for posts and comments. This would complicate things at some places, eg:

  • Only having to return non-deleted items everywhere by default
  • Not being able to perform further operations on deleted items

Testing suite should help with ensuring everything works fine!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants