diff --git a/services/web/app/src/infrastructure/mongojs.js b/services/web/app/src/infrastructure/mongojs.js index 1a9301de24..9e9ad23e92 100644 --- a/services/web/app/src/infrastructure/mongojs.js +++ b/services/web/app/src/infrastructure/mongojs.js @@ -8,7 +8,6 @@ const mongojs = require('mongojs') const db = mongojs(Settings.mongo.url, [ 'projects', 'users', - 'userstubs', 'tokens', 'docSnapshots', 'projectHistoryFailures' diff --git a/services/web/app/src/models/UserStub.js b/services/web/app/src/models/UserStub.js deleted file mode 100644 index a666e155f8..0000000000 --- a/services/web/app/src/models/UserStub.js +++ /dev/null @@ -1,14 +0,0 @@ -const mongoose = require('../infrastructure/Mongoose') -const { Schema } = mongoose - -const UserStubSchema = new Schema({ - email: { type: String, default: '' }, - first_name: { type: String, default: '' }, - last_name: { type: String, default: '' }, - overleaf: { id: { type: Number } }, - thirdPartyIdentifiers: { type: Array, default: [] }, - confirmed_at: Date -}) - -exports.UserStub = mongoose.model('UserStub', UserStubSchema) -exports.UserStubSchema = UserStubSchema