mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 10:52:41 +01:00
6270114767
Summary: - Removed trailing newlines. - Added newline at EOF. - Removed leading newlines. - Trimmed trailing whitespace. - Spelling fix. - Added newline at EOF Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley CC: hach-que, chad, Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D8344
9 lines
353 B
SQL
9 lines
353 B
SQL
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
|
|
ADD subpriority DOUBLE NOT NULL;
|
|
|
|
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
|
|
ADD KEY (priority, subpriority);
|
|
|
|
/* Seed the subpriority column with reasonable values that keep order stable. */
|
|
UPDATE {$NAMESPACE}_maniphest.maniphest_task
|
|
SET subpriority = (UNIX_TIMESTAMP() - dateModified);
|