remove UserStub related code

GitOrigin-RevId: df2559395d1c7f386a07feb5a2ff3c07b6922350
This commit is contained in:
Ersun Warncke 2020-01-24 10:43:24 -04:00 committed by Copybot
parent f01df58a04
commit 76b88a87b6
2 changed files with 0 additions and 15 deletions

View file

@ -8,7 +8,6 @@ const mongojs = require('mongojs')
const db = mongojs(Settings.mongo.url, [
'projects',
'users',
'userstubs',
'tokens',
'docSnapshots',
'projectHistoryFailures'

View file

@ -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