Page MenuHomePhabricator

Allow Phriction documents to be permanently deleted
ClosedPublic

Authored by joshuaspence on Jul 18 2014, 1:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 12:54 AM
Unknown Object (File)
Fri, Dec 13, 10:27 PM
Unknown Object (File)
Fri, Dec 13, 3:43 AM
Unknown Object (File)
Wed, Dec 4, 7:44 PM
Unknown Object (File)
Nov 21 2024, 12:51 AM
Unknown Object (File)
Nov 16 2024, 9:53 AM
Unknown Object (File)
Nov 11 2024, 10:05 PM
Unknown Object (File)
Nov 8 2024, 12:01 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rP63ce0e66c926: Allow Phriction documents to be permanently deleted
Summary

Allow PhrictionDocument to be permanently deleted with ./bin/remove destroy.

Test Plan

Deleted a Phriction document with ./bin/remove and verified that the database was in the expected state.

> ./bin/remove destroy PHID-WIKI-auj57rauigvcqvv5feh6
 IMPORTANT: OBJECTS WILL BE PERMANENTLY DESTROYED! 

There is no way to undo this operation or ever retrieve this data.

These 1 object(s) will be completely destroyed forever:

    - PHID-WIKI-auj57rauigvcqvv5feh6 (PhrictionDocument)


    Are you absolutely certain you want to destroy these 1 object(s)? [y/N] y

Destroying objects...
Destroying PhrictionDocument PHID-WIKI-auj57rauigvcqvv5feh6...
Permanently destroyed 1 object(s).

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joshuaspence retitled this revision from to Allow Phriction documents to be permanently deleted.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
joshuaspence edited edge metadata.
epriestley edited edge metadata.

We should delete all of the historic content objects -- every PhrictionContent with this object as its documentID.

This revision now requires changes to proceed.Jul 18 2014, 1:12 AM
joshuaspence edited edge metadata.
  • Delete historic data
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jul 18 2014, 1:37 AM
joshuaspence updated this revision to Diff 23979.

Closed by commit rP63ce0e66c926 (authored by @joshuaspence).