text: 'use strict';
  module.exports = {
    up: (queryInterface, Sequelize) => {
      return queryInterface.createTable('customer_kyc', {
        running_id: {
          autoIncrement: true,
          type: Sequelize.INTEGER
        },
        customer_id: {
          allowNull: false,
          primaryKey: true,
          type: Sequelize.UUID,
          defaultValue: Sequelize.UUIDV4,
        },
        first_name: {
          type: Sequelize.STRING
        },
        last_name: {
          type: Sequelize.STRING
        },
        email: {
          type: Sequelize.STRING
        },
        customer_ext_id: {
          type: Sequelize.STRING
        },
        verification_type: {
          type: Sequelize.STRING
        },
        customer_data_url: {
          type: Sequelize.STRING
        },
        customer_case_id: {
          type: Sequelize.STRING
        },
        case_id: {
          type: Sequelize.STRING
        },
        status: {
          type: Sequelize.STRING
        },
        user_id: {
          type: Sequelize.INTEGER
        },
        company_uuid: {
          allowNull: false,
          type: Sequelize.UUID,
          defaultValue: Sequelize.UUIDV4,
        },
        created_at: {
          allowNull: false,
          type: Sequelize.DATE,
          defaultValue: Sequelize.NOW
        },
        updated_at: {
          allowNull: false,
          type: Sequelize.DATE,
        },
        deleted_at: {
          allowNull: true,
          type: Sequelize.DATE
        }
      });
    },
    down: (queryInterface, Sequelize) => {
      return queryInterface.dropTable('Customer_KYCs');
    }
  };