update migration

This commit is contained in:
jejolare 2024-09-26 02:30:35 +07:00
parent f067536efe
commit be6631d672

View file

@ -19,7 +19,7 @@ module.exports = {
console.log('Processing chart', i);
const { actual_timestamp } = chart;
const newTimestamp = +new Date(actual_timestamp) * 1000 * 1000;
const newTimestamp = +new Date(actual_timestamp) * 1000;
await queryInterface.sequelize.query(
`
@ -58,7 +58,7 @@ module.exports = {
console.log('Processing chart', i);
const { actual_timestamp } = chart;
const newTimestamp = +new Date(actual_timestamp) / 1000 / 1000;
const newTimestamp = +new Date(actual_timestamp) / 1000;
await queryInterface.sequelize.query(
`