diff --git a/nodejs/migrations/host_1.js b/nodejs/migrations/host_1.js index 2f0e89c..b79f6bc 100644 --- a/nodejs/migrations/host_1.js +++ b/nodejs/migrations/host_1.js @@ -3,7 +3,7 @@ const client = require('../utils/redis'); (async function(){ - await client.rename('hosts', 'host'); + await client.RENAME('hosts', 'host'); let hosts = await client.SMEMBERS('host'); for(let host of hosts){