From 9848b5589773a2d3e172fe72285b9203c36fd260 Mon Sep 17 00:00:00 2001
From: physcik <mynameisgennadiy@vk.com>
Date: Wed, 15 Apr 2026 22:16:17 +0500
Subject: Register endpoint

---
 db/create_script.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'db/create_script.sql')

diff --git a/db/create_script.sql b/db/create_script.sql
index 150e9c4..900857c 100644
--- a/db/create_script.sql
+++ b/db/create_script.sql
@@ -15,9 +15,10 @@ CREATE TABLE RangedWeapons (
 );
 
 CREATE TABLE Users (
-    Id UUID PRIMARY KEY,
+    Id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
     Username TEXT NOT NULL UNIQUE,
     /* SHA512 encryption */
     PasswordHash VARCHAR(512) NOT NULL UNIQUE,
     Role TEXT NOT NULL
 );
+
-- 
cgit v1.3

