20 lines
354 B
JavaScript
20 lines
354 B
JavaScript
"use strict";
|
|
|
|
module.exports = {
|
|
up: async (queryInterface, Sequelize) => {
|
|
return queryInterface.renameColumn(
|
|
"collections",
|
|
"creatorId",
|
|
"createdById"
|
|
);
|
|
},
|
|
|
|
down: async (queryInterface, Sequelize) => {
|
|
return queryInterface.renameColumn(
|
|
"collections",
|
|
"createdById",
|
|
"creatorId"
|
|
);
|
|
},
|
|
};
|