Differential D10526 Diff 25300 src/applications/transactions/storage/PhabricatorApplicationTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/storage/PhabricatorApplicationTransaction.php
Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Lines | return array( | ||||
'metadata' => self::SERIALIZATION_JSON, | 'metadata' => self::SERIALIZATION_JSON, | ||||
), | ), | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'commentPHID' => 'phid?', | 'commentPHID' => 'phid?', | ||||
'commentVersion' => 'uint32', | 'commentVersion' => 'uint32', | ||||
'contentSource' => 'text', | 'contentSource' => 'text', | ||||
'transactionType' => 'text32', | 'transactionType' => 'text32', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | |||||
'key_object' => array( | |||||
'columns' => array('objectPHID'), | |||||
), | |||||
), | |||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function setContentSource(PhabricatorContentSource $content_source) { | public function setContentSource(PhabricatorContentSource $content_source) { | ||||
$this->contentSource = $content_source->serialize(); | $this->contentSource = $content_source->serialize(); | ||||
return $this; | return $this; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 1,011 Lines • Show Last 20 Lines |