summaryrefslogtreecommitdiff
path: root/src/migrate.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-04-10 20:13:14 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-04-10 20:13:14 +0900
commitc58afc67e854b12fd962e8b6d4f98879268c42c8 (patch)
tree4f08d5c3c21d6d8eb3bbf6c4c5967d51eb43501c /src/migrate.ts
parent11.0.0-beta.2 (diff)
downloadmisskey-c58afc67e854b12fd962e8b6d4f98879268c42c8.tar.gz
misskey-c58afc67e854b12fd962e8b6d4f98879268c42c8.tar.bz2
misskey-c58afc67e854b12fd962e8b6d4f98879268c42c8.zip
Update migrate.ts
Diffstat (limited to '')
-rw-r--r--src/migrate.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/migrate.ts b/src/migrate.ts
index f833ec180b..3b010f89fb 100644
--- a/src/migrate.ts
+++ b/src/migrate.ts
@@ -255,7 +255,6 @@ async function main() {
if (note.poll) {
await Polls.save({
- id: genId(),
noteId: note._id.toHexString(),
choices: note.poll.choices.map((x: any) => x.text),
expiresAt: note.poll.expiresAt,