Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate events table to include a deleted_on field and Soft Delete events from 2017 - 2018 #20

Open
1 task
alexanderqchen opened this issue Sep 29, 2018 · 0 comments
Assignees

Comments

@alexanderqchen
Copy link
Contributor

alexanderqchen commented Sep 29, 2018

Motivation

Right now, there's no way to actually delete events unless we send DELETE requests to /api/v1/event manually...however, we don't want to be able to actually delete the event from the database. Instead, we want to add a "deleted" field so that we won't render events that have been marked as deleted (while keeping the "deleted" events in the DB).

Look at this post to see how to write a migrations file

  • update the event database to include a "deleted" column to enable soft deletes
@alexanderqchen alexanderqchen self-assigned this Sep 29, 2018
@alexanderqchen alexanderqchen changed the title Delete events from 2017 - 2018 Migrate events table to include a deleted_on field and Soft Delete events from 2017 - 2018 Oct 2, 2018
@howardwang15 howardwang15 reopened this Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants