user schema

This commit is contained in:
oat 2020-09-03 08:44:41 +03:00
parent 108eec139d
commit 6ff85af711
Signed by untrusted user who does not match committer: oat
GPG Key ID: DD83A9617A252385
1 changed files with 8 additions and 1 deletions

View File

@ -30,3 +30,10 @@ const FileSchema = new Schema({
});
export const File = mongoose.model('File', FileSchema);
const UserSchema = new Schema({ // this is pretty much just a discord user lol
id: String, // cus longass number
approved: Boolean
});
export const User = mongoose.model('User', UserSchema);