
ALTER TABLE `was_event`  ADD `schedule_type` ENUM('STREAM', 'PUBLISH') NOT NULL DEFAULT 'STREAM'  AFTER `audience`;


ALTER TABLE `was_series_class`
ADD `display_order` INT(11) UNSIGNED NOT NULL  AFTER `class_id`
, CHANGE `insert_timestamp` `insert_timestamp` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00'
, ADD `update_timestamp` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `insert_timestamp`;

CREATE TRIGGER `was_series_class_insert_timestamp` BEFORE INSERT ON `was_series_class` FOR EACH ROW SET NEW.insert_timestamp = NOW();
