Changeset View
Changeset View
Standalone View
Standalone View
src/applications/legalpad/storage/LegalpadTransactionComment.php
Show All 26 Lines | $config[self::CONFIG_COLUMN_SCHEMA] = array( | ||||
'lineLength' => 'uint32', | 'lineLength' => 'uint32', | ||||
'fixedState' => 'text12?', | 'fixedState' => 'text12?', | ||||
'hasReplies' => 'bool', | 'hasReplies' => 'bool', | ||||
'replyToCommentPHID' => 'phid?', | 'replyToCommentPHID' => 'phid?', | ||||
) + $config[self::CONFIG_COLUMN_SCHEMA]; | ) + $config[self::CONFIG_COLUMN_SCHEMA]; | ||||
$config[self::CONFIG_KEY_SCHEMA] = array( | $config[self::CONFIG_KEY_SCHEMA] = array( | ||||
'key_draft' => array( | 'key_draft' => array( | ||||
'columns' => array('authorPHID', 'documentID', 'transactionPHID'), | 'columns' => array('authorPHID', 'documentID', 'transactionPHID'), | ||||
'unique' => true, | |||||
), | ), | ||||
) + $config[self::CONFIG_KEY_SCHEMA]; | ) + $config[self::CONFIG_KEY_SCHEMA]; | ||||
return $config; | return $config; | ||||
} | } | ||||
} | } |