mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 11:30:55 +01:00
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:
parent
32225d1dd0
commit
e9f3807cf5
2 changed files with 4 additions and 0 deletions
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,
|
||||
|
|
Loading…
Reference in a new issue