mirror of
https://github.com/Akif9748/akf-forum.git
synced 2025-07-17 20:11:01 +03:00
- discord better auth system with email - module updates - Cache is working now - avatar.js extruted - pagination++ - ban and password change button on interface
8 lines
237 B
JavaScript
8 lines
237 B
JavaScript
const mongoose = require("mongoose");
|
|
require("dotenv").config();
|
|
|
|
mongoose.connect(process.env.MONGO_DB_URL);
|
|
|
|
const Models = require("../src/models");
|
|
|
|
Object.values(Models).forEach(model => model.collection.drop().then(console.log));
|