"use strict"; module.exports = { up: (queryInterface, Sequelize) => { return queryInterface.addConstraint( "RealEstates", ["originAgencyName", "agencyObjectId"], { type: "unique", name: "agencyNameObjectIdUniqueKey" } ); }, down: (queryInterface, Sequelize) => { return queryInterface.removeConstraint( "RealEstates", "agencyNameObjectIdUniqueKey" ); } };