From 2a9fdd8be41ace81dfedc0c5f19f0d3c09b1e74d Mon Sep 17 00:00:00 2001
From: Georgi Nikolov <ggeorgi60@gmail.com>
Date: Sat, 25 Jan 2025 18:15:00 +0200
Subject: Fixed the icons not being able to be Null

Also added a fallback to the icons so they can be downloaded from the servers directly
---
 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 0edf29b..a072863 100644
--- a/migrations/00-initial.sql
+++ b/migrations/00-initial.sql
@@ -24,7 +24,7 @@ CREATE TABLE IF NOT EXISTS Webpages (
     Date         DATETIME     NOT NULL,
     Visits       INT          NOT NULL,
     RequesterUID INT          NOT NULL,
-    FaviconPath  VARCHAR(512) NOT NULL,
+    FaviconPath  VARCHAR(512),
     PRIMARY KEY (WID),
     FOREIGN KEY (RequesterUID) REFERENCES Users(UID)
 );
-- 
cgit v1.2.3

