mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-07 22:38:02 +03:00
Create Database Migration Scripts
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
import CreateLogCtx from "../../../src/common/logger";
|
||||
import db from "../../../src/db/db";
|
||||
import db from "external/mongo/db";
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
const charts = JSON.parse(fs.readFileSync(path.join(__dirname, "./charts.json"), "utf-8"));
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
import db from "../../../src/db/db";
|
||||
import db from "external/mongo/db";
|
||||
import { MDBJson } from "./types";
|
||||
import { Difficulties, Playtypes, ChartDocument } from "tachi-common";
|
||||
import CreateLogCtx from "../../../src/common/logger";
|
||||
|
||||
Reference in New Issue
Block a user