mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 09:20:58 +01:00
59f0e8f950
Summary: Ref T2896, DRAFT Add db columns for recurring events Test Plan: Open event, confirm it still works. Reviewers: chad, #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: btrahan, Korvin, epriestley Maniphest Tasks: T2896 Differential Revision: https://secure.phabricator.com/D13039
17 lines
586 B
SQL
17 lines
586 B
SQL
ALTER TABLE {$NAMESPACE}_calendar.calendar_event
|
|
ADD isRecurring BOOL NOT NULL;
|
|
|
|
ALTER TABLE {$NAMESPACE}_calendar.calendar_event
|
|
ADD recurrenceFrequency LONGTEXT COLLATE {$COLLATE_TEXT} NOT NULL;
|
|
|
|
ALTER TABLE {$NAMESPACE}_calendar.calendar_event
|
|
ADD recurrenceEndDate INT UNSIGNED;
|
|
|
|
ALTER TABLE {$NAMESPACE}_calendar.calendar_event
|
|
ADD instanceOfEventPHID varbinary(64);
|
|
|
|
ALTER TABLE {$NAMESPACE}_calendar.calendar_event
|
|
ADD sequenceIndex INT UNSIGNED;
|
|
|
|
UPDATE {$NAMESPACE}_calendar.calendar_event
|
|
SET recurrenceFrequency = '[]' WHERE recurrenceFrequency = '';
|