text: 'use strict';
  module.exports = {
    up: (queryInterface, Sequelize) => {
      return queryInterface.createTable('Users', {
        userId: {
          primaryKey: true,
          defaultValue: Sequelize.UUIDV1,
          type: Sequelize.UUID
        },
        firstName: {
          allowNull: false,
          type: Sequelize.STRING
        },
        lastName: {
          allowNull: false,
          type: Sequelize.STRING
        },
        credits: {
          type: Sequelize.INTEGER,
          defaultValue: 0
        },
        picture: {
          type: Sequelize.STRING
        },
        passhash: {
          allowNull: false,
          type: Sequelize.STRING
        },
        address: {
          type: Sequelize.TEXT
        },
        email: {
          allowNull: false,
          type: Sequelize.STRING
        },
        createdAt: {
          allowNull: false,
          type: Sequelize.DATE
        },
        updatedAt: {
          allowNull: false,
          type: Sequelize.DATE
        }
      });
    },
    down: (queryInterface, Sequelize) => {
      return queryInterface.dropTable('Users');
    }
  };