diff --git a/resources/sql/patches/124.subpriority.sql b/resources/sql/patches/124.subpriority.sql index c666238061..2a00e73e19 100644 --- a/resources/sql/patches/124.subpriority.sql +++ b/resources/sql/patches/124.subpriority.sql @@ -6,6 +6,6 @@ ALTER TABLE phabricator_maniphest.maniphest_task /* Seed the subpriority column with reasonable values that keep order stable. */ UPDATE phabricator_maniphest.maniphest_task - SET subpriority = dateModified; + SET subpriority = (UNIX_TIMESTAMP() - dateModified);