fixed migrations
This commit is contained in:
parent
6610368109
commit
2c8bfdb9f7
@ -11,6 +11,7 @@ const client = require('../utils/redis');
|
|||||||
await client.HSET('host_'+host, 'created_by', user);
|
await client.HSET('host_'+host, 'created_by', user);
|
||||||
let created_on = await client.HGET('host_'+host, 'updated');
|
let created_on = await client.HGET('host_'+host, 'updated');
|
||||||
await client.HSET('host_'+host, 'created_on', created_on);
|
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, 'username');
|
||||||
await client.HDEL('host_'+host, 'updated');
|
await client.HDEL('host_'+host, 'updated');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user