chore: rename collection creatorId to createdById (#1794)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
up: async (queryInterface, Sequelize) => {
|
||||
return queryInterface.renameColumn(
|
||||
"collections",
|
||||
"creatorId",
|
||||
"createdById"
|
||||
);
|
||||
},
|
||||
|
||||
down: async (queryInterface, Sequelize) => {
|
||||
return queryInterface.renameColumn(
|
||||
"collections",
|
||||
"createdById",
|
||||
"creatorId"
|
||||
);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user