update migration
This commit is contained in:
parent
f067536efe
commit
be6631d672
1 changed files with 2 additions and 2 deletions
|
|
@ -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(
|
||||
`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue