mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-27 17:38:11 +03:00
14 lines
244 B
TypeScript
14 lines
244 B
TypeScript
import { CounterDocument } from "tachi-common";
|
|
import db from "../../src/external/mongo/db";
|
|
|
|
const Counters: CounterDocument[] = [
|
|
{
|
|
counterName: "users",
|
|
value: 1,
|
|
},
|
|
];
|
|
|
|
db.counters.insert(Counters).then(() => {
|
|
process.exit(0);
|
|
});
|