18 lines
427 B
JavaScript
18 lines
427 B
JavaScript
'use strict';
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up (queryInterface, Sequelize) {
|
|
await queryInterface.addColumn('BlacklistReports', 'smurf', {
|
|
type: Sequelize.BOOLEAN,
|
|
allowNull: false,
|
|
defaultValue: false,
|
|
after: 'griefer'
|
|
});
|
|
},
|
|
|
|
async down (queryInterface, Sequelize) {
|
|
await queryInterface.removeColumn('BlacklistReports', 'smurf');
|
|
}
|
|
};
|