From c4683e6bd0e6ac7d94da082702b09fea37e531d9 Mon Sep 17 00:00:00 2001
From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>
Date: Thu, 20 Apr 2023 20:40:24 +0300
Subject: fix: empty country code on user creation (#36)

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

(limited to 'backend/database/init.sql')

diff --git a/backend/database/init.sql b/backend/database/init.sql
index 1b35c02..7e225f0 100644
--- a/backend/database/init.sql
+++ b/backend/database/init.sql
@@ -12,7 +12,7 @@ CREATE TABLE users (
   steam_id TEXT,
   username TEXT NOT NULL,
   avatar_link TEXT NOT NULL,
-  country_code CHAR(2) NOT NULL DEFAULT 'XX',
+  country_code CHAR(2) NOT NULL,
   created_at TIMESTAMP NOT NULL DEFAULT now(),
   updated_at TIMESTAMP NOT NULL DEFAULT now(),
   PRIMARY KEY (steam_id)
-- 
cgit v1.2.3

