Page MenuHomePhabricator

Allow Phriction documents to be permanently deleted
ClosedPublic

Authored by joshuaspence on Jul 18 2014, 1:01 AM.
Tags
None
Referenced Files
F13902022: D9976.diff
Mon, Oct 7, 2:00 AM
Unknown Object (File)
Thu, Sep 26, 2:20 PM
Unknown Object (File)
Sat, Sep 21, 12:29 AM
Unknown Object (File)
Sat, Sep 14, 11:12 PM
Unknown Object (File)
Sat, Sep 14, 11:12 PM
Unknown Object (File)
Sat, Sep 14, 11:08 PM
Unknown Object (File)
Sat, Sep 14, 11:08 PM
Unknown Object (File)
Tue, Sep 10, 8:53 AM
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).