2012-05-03 09:21:47 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
final class PhabricatorCalendarHoliday extends PhabricatorCalendarDAO {
|
|
|
|
|
|
|
|
protected $day;
|
|
|
|
protected $name;
|
|
|
|
|
2015-01-13 20:47:05 +01:00
|
|
|
protected function getConfiguration() {
|
2012-05-03 09:21:47 +02:00
|
|
|
return array(
|
|
|
|
self::CONFIG_TIMESTAMPS => false,
|
2014-09-19 20:46:20 +02:00
|
|
|
self::CONFIG_COLUMN_SCHEMA => array(
|
|
|
|
'day' => 'date',
|
|
|
|
'name' => 'text64',
|
|
|
|
),
|
|
|
|
self::CONFIG_KEY_SCHEMA => array(
|
|
|
|
'day' => array(
|
|
|
|
'columns' => array('day'),
|
2014-10-01 16:53:50 +02:00
|
|
|
'unique' => true,
|
2014-09-19 20:46:20 +02:00
|
|
|
),
|
|
|
|
),
|
2012-05-03 09:21:47 +02:00
|
|
|
) + parent::getConfiguration();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|