mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 02:32:42 +01:00
b028920a5e
Auditors: btrahan
11 lines
352 B
SQL
11 lines
352 B
SQL
ALTER TABLE phabricator_maniphest.maniphest_task
|
|
ADD subpriority DOUBLE NOT NULL;
|
|
|
|
ALTER TABLE phabricator_maniphest.maniphest_task
|
|
ADD KEY (priority, subpriority);
|
|
|
|
/* Seed the subpriority column with reasonable values that keep order stable. */
|
|
UPDATE phabricator_maniphest.maniphest_task
|
|
SET subpriority = (UNIX_TIMESTAMP() - dateModified);
|
|
|
|
|