@grouparoo/core
Version:
The Grouparoo Core
20 lines (17 loc) • 411 B
text/typescript
import Sequelize from "sequelize";
export default {
up: async (queryInterface: Sequelize.QueryInterface) => {
await queryInterface.renameColumn(
"properties",
"directlyMapped",
"isPrimaryKey"
);
},
down: async (queryInterface: Sequelize.QueryInterface) => {
await queryInterface.renameColumn(
"properties",
"isPrimaryKey",
"directlyMapped"
);
},
};