mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-28 17:52:43 +01:00
28 lines
661 B
PHP
28 lines
661 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorCalendarNotification
|
||
|
extends PhabricatorCalendarDAO {
|
||
|
|
||
|
protected $eventPHID;
|
||
|
protected $utcInitialEpoch;
|
||
|
protected $targetPHID;
|
||
|
protected $didNotifyEpoch;
|
||
|
|
||
|
protected function getConfiguration() {
|
||
|
return array(
|
||
|
self::CONFIG_TIMESTAMPS => false,
|
||
|
self::CONFIG_COLUMN_SCHEMA => array(
|
||
|
'utcInitialEpoch' => 'epoch',
|
||
|
'didNotifyEpoch' => 'epoch',
|
||
|
),
|
||
|
self::CONFIG_KEY_SCHEMA => array(
|
||
|
'key_notify' => array(
|
||
|
'columns' => array('eventPHID', 'utcInitialEpoch', 'targetPHID'),
|
||
|
'unique' => true,
|
||
|
),
|
||
|
),
|
||
|
) + parent::getConfiguration();
|
||
|
}
|
||
|
|
||
|
}
|