Files
zkldi_Tachi/server/scripts/single-use/fix-chuni-port.ts
T

19 lines
268 B
TypeScript

import db from "external/mongo/db";
(async () => {
const charts = await db.charts.chunithm.find({});
for (const c of charts) {
await db.charts.chunithm.update(
{
_id: c._id,
},
{
$set: {
"data.inGameID": c.songID,
},
}
);
}
})();