mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +01:00
95d6e0a3c4
Summary: Added a 'parent' field which stores a PHID of another paste. If it is not NULL show a list of children pastes on view. Also did some misc. refactoring to clean up the code a bit, specifically in the Create controller. Test Plan: - Checked old pastes, they were not affected. - Added a paste, successfully. - Forked it, successfully. - Went to the original paste, saw the child paste listed. - Forked it again, saw the new one added to the list. Reviewers: epriestley CC: Differential Revision: 672
3 lines
No EOL
115 B
SQL
3 lines
No EOL
115 B
SQL
ALTER TABLE phabricator_pastebin.pastebin_paste
|
|
ADD COLUMN parentPHID VARCHAR(64) BINARY,
|
|
ADD KEY (parentPHID); |