1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-28 06:48:32 +09:00

Update migrate.ts

This commit is contained in:
syuilo 2019-04-09 21:05:49 +09:00
parent c62f3e0e45
commit 74a4bd704c
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -307,7 +307,7 @@ async function main() {
}
async function migrateEmoji(emoji: any) {
await NoteReactions.save({
await Emojis.save({
id: emoji._id.toHexString(),
updatedAt: emoji.createdAt,
aliases: emoji.aliases,