text: 'use strict';
  module.exports = {
    up: (queryInterface, Sequelize) => {
      return queryInterface.createTable('NotificationUsers', {
        id: {
          allowNull: false,
          autoIncrement: true,
          primaryKey: true,
          type: Sequelize.INTEGER
        },
        user_id: Sequelize.INTEGER,
        notification_id: Sequelize.INTEGER,
        is_viewed:Sequelize.INTEGER,
        createdAt: {
          allowNull: false,
          type: Sequelize.DATE,
          defaultValue: Sequelize.fn('NOW')
        },
        updatedAt: {
          allowNull: false,
          type: Sequelize.DATE,
          defaultValue: Sequelize.fn('NOW')
        }
      });
    },
    down: (queryInterface, Sequelize) => {
      return queryInterface.dropTable('NotificationUsers');
    }
  };