Colubrina/backend/migrations/20220712133850-bot.js

21 lines
391 B
JavaScript
Raw Permalink Normal View History

2022-07-29 01:12:29 +10:00
"use strict"
module.exports = {
async up(queryInterface, Sequelize) {
await queryInterface.addColumn("Users", "bot", {
type: Sequelize.BOOLEAN,
allowNull: false,
defaultValue: false
})
},
async down(queryInterface, Sequelize) {
/**
* Add reverting commands here.
*
* Example:
* await queryInterface.dropTable('users');
*/
}
}