GladysProject/Gladys

View on GitHub
server/migrations/20210705025615-add-active-in-scene.js

Summary

Maintainability
A
35 mins
Test Coverage
module.exports = {
  up: async (queryInterface, Sequelize) => {
    await queryInterface.addColumn('t_scene', 'active', {
      type: Sequelize.BOOLEAN,
      defaultValue: true,
      allowNull: false,
    });
  },
  down: async () => {},
};