From b028920a5ee864d0c61379d79f0985cfe931706c Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 2 Apr 2012 12:26:50 -0700 Subject: [PATCH] Minor, subpriority default previously reverse ordered eveything Auditors: btrahan --- resources/sql/patches/124.subpriority.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);