summaryrefslogtreecommitdiff
path: root/src/services/users/user.model.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/users/user.model.js')
-rw-r--r--src/services/users/user.model.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/services/users/user.model.js b/src/services/users/user.model.js
new file mode 100644
index 0000000..74a83ae
--- /dev/null
+++ b/src/services/users/user.model.js
@@ -0,0 +1,6 @@
+const { model } = require('mongoose');
+const userSchema = require('./user.schema.js');
+
+module.exports = model('User', userSchema);
+
+