aboutsummaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorGeorgi Nikolov <ggeorgi60@gmail.com>2025-01-25 18:15:00 +0200
committerGeorgi Nikolov <ggeorgi60@gmail.com>2025-01-25 18:15:00 +0200
commit2a9fdd8be41ace81dfedc0c5f19f0d3c09b1e74d (patch)
tree3301c127a3021c5fa86dcc3378639cfd26c39d2e /migrations
parent14a268ba7a7ec0127285f3cfdc253ce602da8170 (diff)
downloadnowayforward_human-2a9fdd8be41ace81dfedc0c5f19f0d3c09b1e74d.tar
nowayforward_human-2a9fdd8be41ace81dfedc0c5f19f0d3c09b1e74d.tar.gz
nowayforward_human-2a9fdd8be41ace81dfedc0c5f19f0d3c09b1e74d.zip
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
Diffstat (limited to 'migrations')
-rw-r--r--migrations/00-initial.sql2
1 files changed, 1 insertions, 1 deletions
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)
);