Files
toho-miku/migrations/20230313013405-rename-pullTimeout-to-claimTimeout.js

13 lines
336 B
JavaScript

'use strict';
/** @type {import('sequelize-cli').Migration} */
module.exports = {
async up (queryInterface, Sequelize) {
await queryInterface.renameColumn('Bots', 'pullTimeout', 'claimTimeout');
},
async down (queryInterface, Sequelize) {
await queryInterface.renameColumn('Bots', 'claimTimeout', 'pullTimeout');
}
};