Index: backend/models/Challenge.js
===================================================================
--- backend/models/Challenge.js	(revision ce1bb4529de44fc291d59d7bf2171d2a74476235)
+++ backend/models/Challenge.js	(revision 2a81efaa39e7aa62e33ab8ef3b1debd0d99c707f)
@@ -9,4 +9,6 @@
     this.expired = data.expired || false;
     this.examples = data.examples;
+    this.test_cases = data.test_cases;
+    this.output_type = data.output_type;
   }
 }
Index: backend/prisma/schema.prisma
===================================================================
--- backend/prisma/schema.prisma	(revision ce1bb4529de44fc291d59d7bf2171d2a74476235)
+++ backend/prisma/schema.prisma	(revision 2a81efaa39e7aa62e33ab8ef3b1debd0d99c707f)
@@ -46,20 +46,21 @@
 
 model users {
-  id                  String           @id @default(dbgenerated("auth.uid()")) @db.Uuid
-  username            String           @unique
-  email               String           @unique
-  name                String?
-  solved_problems     BigInt?          @default(0)
-  rank                String?          @default("Novice")
-  points              BigInt?          @default(0)
-  commentCounter      Int?             @default(3) @db.SmallInt
-  commentCheckCounter Int?             @default(0) @db.SmallInt
-  postCounter         Int?             @default(3) @db.SmallInt
-  postCheckCounter    Int?             @default(0) @db.SmallInt
-  isModerator         Boolean          @default(false)
-  attempts            Int?             @default(0) @db.SmallInt
-  comments            comments[]
-  forum_posts         forum_posts[]
-  to_be_reviewed      to_be_reviewed[]
+  id                   String           @id @default(dbgenerated("auth.uid()")) @db.Uuid
+  username             String           @unique
+  email                String           @unique
+  name                 String?
+  solved_problems      BigInt?          @default(0)
+  rank                 String?          @default("Novice")
+  points               BigInt?          @default(0)
+  commentCounter       Int?             @default(3) @db.SmallInt
+  commentCheckCounter  Int?             @default(0) @db.SmallInt
+  postCounter          Int?             @default(3) @db.SmallInt
+  postCheckCounter     Int?             @default(0) @db.SmallInt
+  isModerator          Boolean          @default(false)
+  attempts             Int?             @default(0) @db.SmallInt
+  solvedDailyChallenge Boolean?
+  comments             comments[]
+  forum_posts          forum_posts[]
+  to_be_reviewed       to_be_reviewed[]
 }
 
@@ -74,4 +75,5 @@
   expired      Boolean?
   examples     Json?
+  output_type  String?
   test_cases   test_cases[]
 }
@@ -79,8 +81,8 @@
 /// This model contains row level security and requires additional setup for migrations. Visit https://pris.ly/d/row-level-security for more info.
 model test_cases {
-  id         String     @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
-  post_id    String     @default(dbgenerated("gen_random_uuid()")) @db.Uuid
-  input      String?
-  output     String?
-  challenges challenges @relation(fields: [post_id], references: [id], onDelete: NoAction, onUpdate: NoAction)
+  id           String     @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
+  challenge_id String     @default(dbgenerated("gen_random_uuid()")) @db.Uuid
+  input        String?
+  output       String?
+  challenges   challenges @relation(fields: [challenge_id], references: [id], onDelete: NoAction, onUpdate: NoAction)
 }
