remove old songs-iidx migrater

This commit is contained in:
zkldi
2021-04-24 21:14:35 +01:00
parent ea3af2ddfe
commit 37ef027d51
@@ -1,14 +0,0 @@
import monk from "monk";
import fs from "fs";
import path from "path";
const ktBlackDB = monk(`${process.env.MONGO_BASE_URL}/ktblackdb`);
(async () => {
let songs = await ktBlackDB.get("songs-iidx").find({}, { projection: { _id: 0 } });
fs.writeFileSync(
path.join(__dirname, "../test-utils/test-data/kamaitachi/ktblack-songs-iidx.json"),
JSON.stringify(songs)
);
})();