From d7d5d12e48f0bb317175f2dd2a3781d9354aa4ec Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Tue, 13 Mar 2018 02:03:12 +0900
Subject: [PATCH] oops

---
 tools/migration/node.2018-03-13.othello.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/migration/node.2018-03-13.othello.js b/tools/migration/node.2018-03-13.othello.js
index 12d9e0953..4598f8d83 100644
--- a/tools/migration/node.2018-03-13.othello.js
+++ b/tools/migration/node.2018-03-13.othello.js
@@ -11,7 +11,9 @@ const migrate = async (doc) => {
 	});
 
 	const result = await Othello.update(doc._id, {
-		$set: doc.logs
+		$set: {
+			logs: doc.logs
+		}
 	});
 
 	return result.ok === 1;