1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 20:52:43 +01:00
phorge-phorge/resources/sql/autopatches/20161101.calendar.02.removecolumns.sql
epriestley 3f2f81a1c8 Remove obsolete Calendar event date storage fields
Summary: Ref T11809. These have been replaced with more flexible storage that accommodates a wider range of behaviors, including those in the ICS format and RRULEs.

Test Plan:
  - Ran migration.
  - Viewed, created, edited events.
  - Grepped for all removed names/symbols.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11809

Differential Revision: https://secure.phabricator.com/D16789
2016-11-02 09:49:08 -07:00

17 lines
429 B
SQL

ALTER TABLE {$NAMESPACE}_calendar.calendar_event
DROP allDayDateFrom;
ALTER TABLE {$NAMESPACE}_calendar.calendar_event
DROP allDayDateTo;
ALTER TABLE {$NAMESPACE}_calendar.calendar_event
DROP dateFrom;
ALTER TABLE {$NAMESPACE}_calendar.calendar_event
DROP dateTo;
ALTER TABLE {$NAMESPACE}_calendar.calendar_event
DROP recurrenceEndDate;
ALTER TABLE {$NAMESPACE}_calendar.calendar_event
DROP recurrenceFrequency;