Hi guys, finally, I’ve come up with a very simple migration. Its NOT ready for production, but a starting point which I’ll continue to build upon and with you guys’ feedback, we can create a perfect migration.
Currently Supported Fields
event_start event_end event_all_day event_rsvp event_going
Use the branch
migration. If your setup is hosted, use this line in your app.yml.
- git clone -b migration https://github.com/paviliondev/discourse-events.git.
Create the new discourse events while keeping the old events data intact :
Create the new discourse events and get rid of the old events data:
- Migrates event_start and event_end
- All day events start from beginning of the day and last till the end of it.
- Migrates RSVP users as
allowedGroupssetting will be defaulted to
event_start Unix time stamp: of the event start date/time
event_end, Unix time stamp: of the end start date/time
event_all_day, boolean : whether its an all day event or not
event_timezone, Event’s timezone(Rails style)
event_rsvp, Whether users are allowed to rsvp
event_going, RSVP user ids
event_going_max, max number of people allowed to rsvp
event_version, iCal event version
Unable to migrate