text: 'use strict';
  var winston = require('winston');
  
  module.exports = {
      up: function (queryInterface, Sequelize) {
          return queryInterface.addColumn('epg_data', 'event_category', {type: Sequelize.STRING(45), defaultValue: '-'})
              .catch(function (err) {
                  winston.error('Adding column epg_data.event_category failed with error message: ', err.message);
              });
      },
  
      down: function (queryInterface, Sequelize) {
          return queryInterface.removeColumn('epg_data', 'event_category')
              .catch(function (err) {
                  winston.error('Removing column epg_data.event_category failed with error message: ', err.message);
              });
      }
  };