From 5057b165bbac2209db8e257b45a717371d06f97d Mon Sep 17 00:00:00 2001 From: Elias Luhr Date: Mon, 12 Sep 2022 12:15:10 +0200 Subject: [PATCH] use correct default value in migration --- src/migrations/m220523_110031_add_hide_template_flag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/migrations/m220523_110031_add_hide_template_flag.php b/src/migrations/m220523_110031_add_hide_template_flag.php index 60320b0..2cc6db3 100644 --- a/src/migrations/m220523_110031_add_hide_template_flag.php +++ b/src/migrations/m220523_110031_add_hide_template_flag.php @@ -13,7 +13,7 @@ class m220523_110031_add_hide_template_flag extends Migration public function safeUp() { $this->addColumn('{{%hrzg_widget_template}}', 'hide_in_list_selection', - $this->boolean()->notNull()->defaultValue(0)->after('twig_template')); + $this->boolean()->notNull()->defaultValue(false)->after('twig_template')); } /**