From 4e976dd5ca170dfb19164518496cee4c53af4294 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Wed, 24 Jan 2024 10:10:54 +0100 Subject: [PATCH] added default value for custom themes --- application/migrations/176_add_logo_to_themes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/migrations/176_add_logo_to_themes.php b/application/migrations/176_add_logo_to_themes.php index 6cc01426c..adab5b556 100644 --- a/application/migrations/176_add_logo_to_themes.php +++ b/application/migrations/176_add_logo_to_themes.php @@ -14,7 +14,7 @@ class Migration_add_logo_to_themes extends CI_Migration { // we add a column to set the path for the main logo if (!$this->db->field_exists('main_logo', 'themes')) { $fields = array( - 'main_logo varchar(50) AFTER foldername', + "main_logo varchar(50) DEFAULT 'wavelog_logo_default' AFTER foldername", ); $this->dbforge->add_column('themes', $fields); @@ -23,7 +23,7 @@ class Migration_add_logo_to_themes extends CI_Migration { // and we set the path for the small header logo/icon if (!$this->db->field_exists('header_logo', 'themes')) { $fields = array( - 'header_logo varchar(50) AFTER foldername', + "header_logo varchar(50) DEFAULT 'wavelog_icon_only_default' AFTER foldername", ); $this->dbforge->add_column('themes', $fields);