1
1
Fork 0
mirror of https://github.com/Akif9748/akf-forum.git synced 2025-07-17 20:11:01 +03:00
akf-forum/util/reset.js
Akif9748 9b5bb9b782 Themes folder update
- discord better auth system with email
- module updates
- Cache is working now
- avatar.js extruted
- pagination++
- ban and password change button on interface
2024-02-10 23:51:42 +03:00

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));