From decc7e47146584dcc02171793072462ce0f817fe Mon Sep 17 00:00:00 2001
From: Syndamia <kamen@syndamia.com>
Date: Sat, 25 Jan 2025 19:58:27 +0200
Subject: feat(models/cookies): Added model with proper logic for cookie
 creation

---
 migrations/00-initial.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'migrations/00-initial.sql')

diff --git a/migrations/00-initial.sql b/migrations/00-initial.sql
index 7b08719..879b5f1 100644
--- a/migrations/00-initial.sql
+++ b/migrations/00-initial.sql
@@ -12,7 +12,7 @@ CREATE TABLE IF NOT EXISTS Users (
 
 CREATE TABLE IF NOT EXISTS Cookies (
     UID     INT NOT NULL AUTO_INCREMENT,
-    Token   CHAR(32) NOT NULL,
+    Token   CHAR(36) NOT NULL,
     Expires DATETIME,
     PRIMARY KEY (UID, Token),
     FOREIGN KEY (UID) REFERENCES Users(UID)
-- 
cgit v1.2.3

