Closed Bug 969571 Opened 12 years ago Closed 11 years ago

Do events data migration & cleanup

Categories

(Webmaker Graveyard :: Events, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gvn, Unassigned)

Details

(Whiteboard: [events] [icebox])

Deprecate endTime, startTime and combining them into beginDate & endDate. Attendees has inaccurate values.
Where attendees has a value of 6, it should actually be 500.
Kate, can you add any other stuff that needs to be sanitized and then pass this to jbuck?
Assignee: nobody → kate
Whiteboard: events2 → events2, r2
Whiteboard: events2, r2 → events2, r3
I think the only changes that are really necessary here are: For attendees, convert the following values: 0 = 5 1 = 15 2 = 35 3 = 75 4 = 150 5 = 350 6 = 500 IMO we should just leave begin/end dates and times as they are. For historical purposes the date matters a lot more, so having the time at 0:00:00 is not a huge deal
Assignee: kate → jon
Okay, I migrated the attendee values on prod. Does events2-api already support new columns, or should they be deleted outright, or...?
Assignee: jon → nobody
Flags: needinfo?(kate)
Yes, the migration has been run on prod for the new columns. The other migration that would need to be run would be (in pseudocode): For event in events, if startTime startDate = startDate.time(startTime) if endTime endDate = endDate.time(endTime) deleteColumn(startTime) deleteColumn(endTime)
Flags: needinfo?(kate)
IMO it's low priority
Assignee: nobody → kate
Whiteboard: events2, r3 → [events] [july25]
Status: NEW → ASSIGNED
Assignee: kate → nobody
Summary: Do data migration & cleanup → Do events data migration & cleanup
Whiteboard: [events] [july25] → [events] [icebox]
Simon do we still want to do this?
Flags: needinfo?(simon)
Nah, no need.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(simon)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.