1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Correct a Dashboard status constant in a migration

Summary:
Fixes T9500. All the code is fine in D13836, but the value of the constant got updated (from "open" to "active") and the migration still used the old value.

Correct any affected dashboards to use the proper constant.

This only affected old dashboards: newly created ones use the right constant.

Test Plan: Ran migration, verified that all active dashboards appeared on "Active Dashboards".

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9500

Differential Revision: https://secure.phabricator.com/D14223
This commit is contained in:
epriestley 2015-10-02 09:17:43 -07:00
parent 9c798e5cca
commit 3c4b05bcd4

View file

@ -0,0 +1,2 @@
UPDATE {$NAMESPACE}_dashboard.dashboard
SET status = 'active' WHERE status = 'open';