'use strict';

module.exports = {
  up: async (queryInterface, Sequelize) => {
    await queryInterface.addColumn(
      {
        tableName: 'falukant_user',
        schema: 'falukant_data'
      },
      'last_nobility_advance_at',
      {
        type: Sequelize.DATE,
        allowNull: true
      }
    );
  },

  down: async (queryInterface, Sequelize) => {
    await queryInterface.removeColumn(
      {
        tableName: 'falukant_user',
        schema: 'falukant_data'
      },
      'last_nobility_advance_at'
    );
  }
};


