diff options
author | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-07-25 11:07:20 +0530 |
---|---|---|
committer | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-07-25 11:07:20 +0530 |
commit | 1f853be5b9c07519cceeea9b7a5cbeee06756401 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /server/models | |
parent | 90b1b7872547949b3b2c42bc7cc47457a1a2ec70 (diff) | |
download | admin-panel-1f853be5b9c07519cceeea9b7a5cbeee06756401.tar.gz admin-panel-1f853be5b9c07519cceeea9b7a5cbeee06756401.tar.bz2 admin-panel-1f853be5b9c07519cceeea9b7a5cbeee06756401.zip |
new project
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/User.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/server/models/User.js b/server/models/User.js deleted file mode 100644 index 968673e..0000000 --- a/server/models/User.js +++ /dev/null @@ -1,15 +0,0 @@ -const mongoose = require('mongoose'); - -const UserSchema = new mongoose.Schema({ - email: { - type: String, - required: true, - unique: true, - }, - password: { - type: String, - required: true, - }, -}); - -module.exports = mongoose.model('User', UserSchema); |