Added price history log.
This commit is contained in:
@@ -63,9 +63,7 @@ const bulkUpsertRealEstates = async realEstateData => {
|
||||
"numberOfViewsAgency"
|
||||
];
|
||||
const order = [["updatedAt", "desc"]];
|
||||
//
|
||||
//console.log("realEstateData:", realEstateData);
|
||||
//
|
||||
|
||||
return await db.RealEstate.bulkCreate(realEstateData, {
|
||||
updateOnDuplicate: fieldsToUpdateIfDuplicate,
|
||||
returning: true,
|
||||
|
||||
Reference in New Issue
Block a user