text: const uuid = require("uuid/v4");
  ("use strict");
  
  module.exports = {
    up: (queryInterface, Sequelize) => {
      return queryInterface.createTable("Users", {
        id: {
          allowNull: false,
          primaryKey: true,
          type: Sequelize.UUID,
          defaultValue: Sequelize.literal("uuid_generate_v4()"),
        },
        firebase_id: {
          type: Sequelize.STRING,
        },
        email: {
          type: Sequelize.STRING,
        },
        user_name: {
          type: Sequelize.STRING,
        },
        accepted_terms: {
          type: Sequelize.BOOLEAN,
        },
        createdAt: {
          allowNull: false,
          type: Sequelize.DATE,
        },
        updatedAt: {
          allowNull: false,
          type: Sequelize.DATE,
        },
      });
    },
    down: (queryInterface, Sequelize) => {
      return queryInterface.dropTable("Users");
    },
  };
  