mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
7e91f42b02
Summary: Ref T12738. This makes clicking "Throw In Trash" technically do something, sort of. In Nuance, the default mode of operation for actions is asynchronous -- so you don't have to wait for a response from Twitter or GitHub after you mash the "send default reply tweet" / "close this pull request with a nice response" button and can move directly to the next item instead. In the future, some operations will attempt to apply synchronously (e.g., local actions like "ignore this item forever"). This fakes our way through that for now. There's also no connection to the action actually doing anything yet, but I'll probably rig that up next. Test Plan: {F4975227} Reviewers: chad Reviewed By: chad Maniphest Tasks: T12738 Differential Revision: https://secure.phabricator.com/D18010
5 lines
174 B
SQL
5 lines
174 B
SQL
ALTER TABLE {$NAMESPACE}_nuance.nuance_itemcommand
|
|
ADD status VARCHAR(64) NOT NULL;
|
|
|
|
UPDATE {$NAMESPACE}_nuance.nuance_itemcommand
|
|
SET status = 'done' WHERE status = '';
|