UNPKG

@grouparoo/core

Version:
19 lines (18 loc) 583 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = { up: async (queryInterface, DataTypes) => { await queryInterface.addColumn("records", "invalid", { type: DataTypes.BOOLEAN, allowNull: true, defaultValue: false, }); await queryInterface.changeColumn("records", "invalid", { type: DataTypes.BOOLEAN, allowNull: false, }); }, down: async (queryInterface) => { await queryInterface.removeColumn("records", "invalid"); }, };