diff options
author | eug-vs <eug-vs@keemail.me> | 2020-11-14 14:56:12 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-11-14 14:56:12 +0300 |
commit | fd3efcdec584d550f70fb473386e01086e8238e0 (patch) | |
tree | d5019e835f70fd70fe6825704e8aa7c010ed8ce3 /services/users/user.model.js | |
parent | 87306ea2e4ffad7b8c588da0423ecf199575ac9c (diff) | |
download | bsu-fantom-fd3efcdec584d550f70fb473386e01086e8238e0.tar.gz |
feat: add Users and Events services
Diffstat (limited to 'services/users/user.model.js')
-rw-r--r-- | services/users/user.model.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/services/users/user.model.js b/services/users/user.model.js new file mode 100644 index 0000000..74a83ae --- /dev/null +++ b/services/users/user.model.js @@ -0,0 +1,6 @@ +const { model } = require('mongoose'); +const userSchema = require('./user.schema.js'); + +module.exports = model('User', userSchema); + + |