mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
73c82e5a94
Summary: We will need it for two purposes: - Status tool. - Nagging tool - @aran suggested using "3 business days" and I don't want it to fall on New Year's Eve or such. I don't plan working on any interface for editing this as this kind of data should be always imported. Test Plan: `bin/storage upgrade` `scripts/calendar/import_us_holidays.php` /calendar/ Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Differential Revision: https://secure.phabricator.com/D2375
7 lines
240 B
SQL
7 lines
240 B
SQL
CREATE TABLE {$NAMESPACE}_calendar.calendar_holiday (
|
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
|
`day` date NOT NULL,
|
|
`name` varchar(50) NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE `day` (`day`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|