forked from oat/in-the-database-2
user schema
This commit is contained in:
parent
108eec139d
commit
6ff85af711
1 changed files with 8 additions and 1 deletions
|
@ -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);
|
Loading…
Reference in a new issue