text: 'use strict';
  module.exports = {
      up: async (queryInterface, Sequelize) => {
          await queryInterface.createTable('Votes', {
              id: {
                  allowNull: false,
                  autoIncrement: true,
                  primaryKey: true,
                  type: Sequelize.INTEGER
              },
              userId: {
                  type: Sequelize.UUID,
                  allowNull: false,
              },
              answerId: {
                  type: Sequelize.INTEGER,
                  allowNull: false,
              },
              value: {
                  type: Sequelize.INTEGER,
                  allowNull: false,
              },
              createdAt: {
                  allowNull: false,
                  type: Sequelize.DATE
              },
              updatedAt: {
                  allowNull: false,
                  type: Sequelize.DATE
              }
          });
      },
      down: async (queryInterface, Sequelize) => {
          await queryInterface.dropTable('Votes');
      }
  };
  