var Sequelize = require('sequelize');
var db = require('../db.js');

var UserRoom = db.define('UserRoom',
  {
    id: {
      type: Sequelize.UUID,
      defaultValue: Sequelize.UUIDV1,
      primaryKey: true
    }
  }, 
  {
    freezeTableName: true
  }
);

module.exports = UserRoom;
var Sequelize = require('sequelize');
var db = require('../db.js');

var UserRoom = db.define('UserRoom',
  {
    id: {
      type: Sequelize.UUID,
      defaultValue: Sequelize.UUIDV1,
      primaryKey: true,
    },
    show: {
      type: Sequelize.BOOLEAN,
      defaultValue: true,
    },
  },
  {
    freezeTableName: true,
  }
);

module.exports = UserRoom;

Add show field to UserRoom table
Add show field to UserRoom table
