From 51fac3f3b6f73b649ba8109b37d8ff311b905cd4 Mon Sep 17 00:00:00 2001
From: Daniel Hader <dhader96@gmail.com>
Date: Tue, 2 Jun 2026 20:37:40 -0500
Subject: problem statement on submission page and submission logic tweaks

---
 src/database/sql/initialize.sql | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/database/sql/initialize.sql')

diff --git a/src/database/sql/initialize.sql b/src/database/sql/initialize.sql
index 72b7468..8c0f2ef 100644
--- a/src/database/sql/initialize.sql
+++ b/src/database/sql/initialize.sql
@@ -16,9 +16,10 @@ CREATE TABLE IF NOT EXISTS submission (
     id         INTEGER PRIMARY KEY,
     user_id    INTEGER NOT NULL,
     problem_id INTEGER NOT NULL,
-    code       TEXT NOT NULL,
     language   TEXT NOT NULL,
-    validated  INTEGER NOT NULL
+    details    TEXT NOT NULL,
+    code       TEXT NOT NULL
+    
 );
 
 INSERT INTO problem (title, description) VALUES (
-- 
cgit v1.2.3

