projeto-hit/backend/src/database/migrations/20220323010209-rename-table...

12 lines
327 B
TypeScript

import { QueryInterface, DataTypes } from "sequelize";
module.exports = {
up: (queryInterface: QueryInterface) => {
return queryInterface.renameTable("StatusChatEnd", "StatusChatEnds");
},
down: (queryInterface: QueryInterface) => {
return queryInterface.renameTable("StatusChatEnds", "StatusChatEnd");
}
};