'use strict';

const details = require('../config/details.json')['details'];
const addTimestamps = require('../helpers/add_timestamp_to_obj.js');

module.exports = {
  up: (queryInterface, Sequelize) => {
    return queryInterface.bulkInsert('Details', addTimestamps(details), {});
  },

  down: (queryInterface, Sequelize) => {
    return queryInterface.bulkDelete('Details', null, {});
  }
};
