From 1f043fa1a6692f9a832ca120d9fc737f98ad52a8 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 5 Mar 2021 18:48:30 +0100 Subject: [PATCH] TEXT does not support a default value --- wcfsetup/setup/db/install.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index c03971ed30..5b68c62cde 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -1453,7 +1453,7 @@ CREATE TABLE wcf1_unfurl_url ( urlHash VARCHAR(40) NOT NULL UNIQUE KEY (urlHash), title VARCHAR(255) NOT NULL DEFAULT '', description TEXT, - imageUrl TEXT NOT NULL DEFAULT '', + imageUrl TEXT NOT NULL, imageType VARCHAR(255) NOT NULL DEFAULT 'NOIMAGE', imageHash VARCHAR(45) NOT NULL DEFAULT '', status VARCHAR(255) NOT NULL DEFAULT 'PENDING', -- 2.20.1