Spaces:
Runtime error
Runtime error
pc 8
Browse files
src/database/models/glucosa.js
CHANGED
|
@@ -8,7 +8,7 @@ const glucosa = new mongoose.Schema(
|
|
| 8 |
createdAt: { type: Date, default: Date.now },
|
| 9 |
iduser: String,
|
| 10 |
},
|
| 11 |
-
{
|
| 12 |
);
|
| 13 |
|
| 14 |
const Glucosa = mongoose.model("Glucosa", glucosa);
|
|
|
|
| 8 |
createdAt: { type: Date, default: Date.now },
|
| 9 |
iduser: String,
|
| 10 |
},
|
| 11 |
+
{ collection: "glucosa" }
|
| 12 |
);
|
| 13 |
|
| 14 |
const Glucosa = mongoose.model("Glucosa", glucosa);
|