mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-16 03:42:41 +01:00
25 lines
523 B
PHP
25 lines
523 B
PHP
|
<?php
|
||
|
|
||
|
final class DifferentialHiddenComment
|
||
|
extends DifferentialDAO {
|
||
|
|
||
|
protected $userPHID;
|
||
|
protected $commentID;
|
||
|
|
||
|
protected function getConfiguration() {
|
||
|
return array(
|
||
|
self::CONFIG_TIMESTAMPS => false,
|
||
|
self::CONFIG_KEY_SCHEMA => array(
|
||
|
'key_user' => array(
|
||
|
'columns' => array('userPHID', 'commentID'),
|
||
|
'unique' => true,
|
||
|
),
|
||
|
'key_comment' => array(
|
||
|
'columns' => array('commentID'),
|
||
|
),
|
||
|
),
|
||
|
) + parent::getConfiguration();
|
||
|
}
|
||
|
|
||
|
}
|