diff --git a/nodejs/migrations/host_1.js b/nodejs/migrations/host_1.js index b79f6bc..7f0613f 100644 --- a/nodejs/migrations/host_1.js +++ b/nodejs/migrations/host_1.js @@ -11,6 +11,7 @@ const client = require('../utils/redis'); await client.HSET('host_'+host, 'created_by', user); let created_on = await client.HGET('host_'+host, 'updated'); await client.HSET('host_'+host, 'created_on', created_on); + await client.HSET('host_'+host, 'updated_on', created_on); await client.HDEL('host_'+host, 'username'); await client.HDEL('host_'+host, 'updated'); }