user schema

This commit is contained in:
oat 2020-09-03 08:44:41 +03:00
parent 108eec139d
commit 6ff85af711
Signed by: oat
GPG key ID: DD83A9617A252385

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);