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 a0441b8 commit d4ed087Copy full SHA for d4ed087
models/infra.js
@@ -1,4 +1,4 @@
1
-const { connector } = require("./databaseUtil");
+const { connector } = require("#models/databaseUtil");
2
3
const infrastructureSchema = {
4
infraID: {type: Number, required: true},
@@ -9,5 +9,4 @@ const infrastructureSchema = {
9
capacity: {type:Number, required: true}
10
};
11
12
-const infrastructureModel = new connector.model("Infrastructure", infrastructureSchema);;
13
-module.exports = {};
+const infrastructureModel = new connector.model("Infrastructure", infrastructureSchema);
0 commit comments