text: "use strict";
  module.exports = {
    up: (queryInterface, Sequelize) => {
      return queryInterface.createTable("RestaurantReviews", {
        id: {
          allowNull: false,
          autoIncrement: true,
          primaryKey: true,
          type: Sequelize.INTEGER
        },
        restaurantId: {
          allowNull: false,
          type: Sequelize.INTEGER
        },
        userId: {
          allowNull: false,
          type: Sequelize.INTEGER
        },
        content: {
          type: Sequelize.TEXT
        },
        stars: {
          type: Sequelize.INTEGER
        },
        createdAt: {
          allowNull: false,
          type: Sequelize.DATE
        },
        updatedAt: {
          allowNull: false,
          type: Sequelize.DATE
        }
      });
    },
    down: (queryInterface, Sequelize) => {
      return queryInterface.dropTable("RestaurantReviews");
    }
  };
  