Changeset View
Changeset View
Standalone View
Standalone View
src/applications/flag/storage/PhabricatorFlag.php
Show All 17 Lines | return array( | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'type' => 'text4', | 'type' => 'text4', | ||||
'color' => 'uint32', | 'color' => 'uint32', | ||||
'note' => 'text', | 'note' => 'text', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'ownerPHID' => array( | 'ownerPHID' => array( | ||||
'columns' => array('ownerPHID', 'type', 'objectPHID'), | 'columns' => array('ownerPHID', 'type', 'objectPHID'), | ||||
'unique' => true, | |||||
), | |||||
'objectPHID' => array( | |||||
'columns' => array('objectPHID'), | |||||
), | ), | ||||
), | ), | ||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function getObject() { | public function getObject() { | ||||
return $this->assertAttached($this->object); | return $this->assertAttached($this->object); | ||||
} | } | ||||
Show All 39 Lines |