Skip to content

Commit

Permalink
use correct default value in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
eluhr committed Sep 12, 2022
1 parent b730fdd commit 5057b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/migrations/m220523_110031_add_hide_template_flag.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
}

/**
Expand Down

0 comments on commit 5057b16

Please sign in to comment.