From 36fad793c3be58b220ae319a45c8cd8afbae09fa Mon Sep 17 00:00:00 2001
From: Daniel Hader <dhader96@gmail.com>
Date: Mon, 11 May 2026 19:28:00 -0500
Subject: user route and database pooling using r2d2

---
 src/database/sql/initialize.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

diff --git a/src/database/sql/initialize.sql b/src/database/sql/initialize.sql
index 3baf4ff..065bac9 100644
--- a/src/database/sql/initialize.sql
+++ b/src/database/sql/initialize.sql
@@ -7,7 +7,7 @@ CREATE TABLE IF NOT EXISTS problem (
 CREATE TABLE IF NOT EXISTS user (
     id            INTEGER PRIMARY KEY,
     email         TEXT UNIQUE NOT NULL,
-    username      TEXT NOT NULL,
+    username      TEXT UNIQUE NOT NULL,
     password_hash TEXT NOT NULL
 );
 
-- 
cgit v1.2.3

