We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd8306a commit 66ff6beCopy full SHA for 66ff6be
models.js
@@ -4,9 +4,6 @@ const mongoose = require('mongoose')
4
// Connect to the local MongoDB database named “testdb”
5
mongoose.connect('mongodb://localhost/testdb')
6
7
-// Use real promises
8
-mongoose.Promise = global.Promise
9
-
10
// Create a Group schema to be stored in the MongoDB database
11
const GroupSchema = new mongoose.Schema({
12
_id: String,
0 commit comments