Fix update instructions for wcf1_unfurl_url
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 17 Mar 2021 12:02:24 +0000 (13:02 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 17 Mar 2021 12:02:24 +0000 (13:02 +0100)
wcfsetup/install/files/acp/database/update_com.woltlab.wcf_5.4.php

index 5e5dcf180155651180fd6b03dd8c80cf6b784428..ed946e355a0c755fac299149b64eefce401e5844 100644 (file)
@@ -251,9 +251,9 @@ return [
             VarcharDatabaseTableColumn::create('urlHash')
                 ->notNull()
                 ->length(40),
-            NotNullVarchar255DatabaseTableColumn::create('title'),
-            TextDatabaseTableColumn::create('description')
-                ->notNull(),
+            NotNullVarchar255DatabaseTableColumn::create('title')
+                ->defaultValue(''),
+            TextDatabaseTableColumn::create('description'),
             IntDatabaseTableColumn::create('imageID')
                 ->length(10),
             NotNullVarchar255DatabaseTableColumn::create('status')