From 2c8bfdb9f7588145d6ced36a03480c4abffefacf Mon Sep 17 00:00:00 2001 From: William Mantly Date: Sat, 11 Apr 2020 16:47:27 -0400 Subject: [PATCH] fixed migrations --- nodejs/migrations/host_1.js | 1 + 1 file changed, 1 insertion(+) 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'); }