I had about 30 migration files (sequelize) looking like the following that I wanted to copy into migrations for another table, while changing the migration file's name (sequelize relies on utc-timestamp) and changing the table-name in the file at the same time:
"use strict";
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.addColumn("Providers", "column-name", { type: Sequelize.DECIMAL(8, 2) });
},
down: (queryInterface, Sequelize) => {
return queryInterface.removeColumn("Providers", "column-name");
}
};