@grouparoo/core
Version:
The Grouparoo Core
21 lines (20 loc) • 681 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
up: async (queryInterface, DataTypes) => {
await queryInterface.addColumn("settings", "title", {
type: DataTypes.STRING(191),
allowNull: false,
defaultValue: "",
});
await queryInterface.addColumn("settings", "variant", {
type: DataTypes.STRING(191),
allowNull: false,
defaultValue: "",
});
},
down: async (queryInterface) => {
await queryInterface.removeColumn("settings", "title");
await queryInterface.removeColumn("settings", "variant");
},
};