Add a "points" field to tasks
Summary: Currently never read or written. Supports fractions. There's no such thing as an unsigned double so this also supports negative values, technically, although I'll eventually prevent this in the UI. Test Plan: `bin/storage upgrade`, then created and edited a task. Nothing was different. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D15218
This commit is contained in:
2
resources/sql/autopatches/20160208.task.3.sql
Normal file
2
resources/sql/autopatches/20160208.task.3.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
|
||||
ADD points DOUBLE;
|
||||
@@ -37,6 +37,7 @@ final class ManiphestTask extends ManiphestDAO
|
||||
protected $ownerOrdering;
|
||||
protected $spacePHID;
|
||||
protected $properties = array();
|
||||
protected $points;
|
||||
|
||||
private $subscriberPHIDs = self::ATTACHABLE;
|
||||
private $groupByProjectPHID = self::ATTACHABLE;
|
||||
@@ -80,6 +81,7 @@ final class ManiphestTask extends ManiphestDAO
|
||||
'ownerOrdering' => 'text64?',
|
||||
'originalEmailSource' => 'text255?',
|
||||
'subpriority' => 'double',
|
||||
'points' => 'double?',
|
||||
),
|
||||
self::CONFIG_KEY_SCHEMA => array(
|
||||
'key_phid' => null,
|
||||
|
||||
Reference in New Issue
Block a user