module.exports = {
  up(queryInterface, Sequelize) {
    return Promise.all([
      queryInterface.addColumn(
          'users',
          'executive',
          {
            type: Sequelize.BOOLEAN,
            defaultValue: false,
            notNull: true
          },
      ),
    ]);
  },
  down(queryInterface, Sequelize) {
    return Promise.all([
      queryInterface.removeColumn(
          'users',
          'executive',
      )
    ]);
  },
};
