From c071aca5c5c16d56aafe38ace2b2c158e1b875fc Mon Sep 17 00:00:00 2001
From: Daniel Hader <dhader96@gmail.com>
Date: Fri, 5 Jun 2026 19:29:40 -0500
Subject: server text sanitation, username/email filters, and code length
 measurement

---
 src/database/sql/initialize.sql | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

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

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

