bot-image-moderation-fe/init-mongo.js

11 lines
151 B
JavaScript
Raw Permalink Normal View History

2024-02-22 17:26:37 +00:00
db = new Mongo().getDB("bot");
2024-04-27 16:17:56 +00:00
db.createCollection("authorizations");
2024-02-22 17:26:37 +00:00
db.authorizations.insert([
2024-04-27 16:17:56 +00:00
{
app: "tester",
secret: "test",
},
]);