From 6ff85af711e42ecba03109154bdd9a7cd705e351 Mon Sep 17 00:00:00 2001 From: oat Date: Thu, 3 Sep 2020 08:44:41 +0300 Subject: [PATCH] user schema --- src/schema.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/schema.ts b/src/schema.ts index 2bf463c..b7ea0d6 100644 --- a/src/schema.ts +++ b/src/schema.ts @@ -29,4 +29,11 @@ const FileSchema = new Schema({ charts: [Chart] }); -export const File = mongoose.model('File', FileSchema); \ No newline at end of file +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); \ No newline at end of file