Close pholio mocks

Summary: Fixes T4299, Add status dropdown to mock edit view

Test Plan: Edit mock, close mock, thumbnail title should read (Disabled). Default mocks list should show only open mocks.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: chad, epriestley, Korvin

Maniphest Tasks: T4299

Differential Revision: https://secure.phabricator.com/D9145
This commit is contained in:
lkassianik
2014-05-19 11:33:34 -07:00
committed by epriestley
parent 25f9facba6
commit 3d457a53be
10 changed files with 107 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
ALTER TABLE {$NAMESPACE}_pholio.pholio_mock
ADD COLUMN status VARCHAR(12) NOT NULL COLLATE utf8_bin;
UPDATE {$NAMESPACE}_pholio.pholio_mock
SET status = "open" WHERE status = "";