mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
remove UserStub related code
GitOrigin-RevId: df2559395d1c7f386a07feb5a2ff3c07b6922350
This commit is contained in:
parent
f01df58a04
commit
76b88a87b6
2 changed files with 0 additions and 15 deletions
|
@ -8,7 +8,6 @@ const mongojs = require('mongojs')
|
|||
const db = mongojs(Settings.mongo.url, [
|
||||
'projects',
|
||||
'users',
|
||||
'userstubs',
|
||||
'tokens',
|
||||
'docSnapshots',
|
||||
'projectHistoryFailures'
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue