Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/calendar/storage/PhabricatorCalendarNotification.php
12253 views
1
<?php
2
3
final class PhabricatorCalendarNotification
4
extends PhabricatorCalendarDAO {
5
6
protected $eventPHID;
7
protected $utcInitialEpoch;
8
protected $targetPHID;
9
protected $didNotifyEpoch;
10
11
protected function getConfiguration() {
12
return array(
13
self::CONFIG_TIMESTAMPS => false,
14
self::CONFIG_COLUMN_SCHEMA => array(
15
'utcInitialEpoch' => 'epoch',
16
'didNotifyEpoch' => 'epoch',
17
),
18
self::CONFIG_KEY_SCHEMA => array(
19
'key_notify' => array(
20
'columns' => array('eventPHID', 'utcInitialEpoch', 'targetPHID'),
21
'unique' => true,
22
),
23
),
24
) + parent::getConfiguration();
25
}
26
27
}
28
29