Add default value to sort_order column.
Changes to lessons table to allow partial events.