Skip to content

Commit

Permalink
v1.3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBeckers committed Sep 11, 2020
1 parent ca4c694 commit 8b14fe4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "dutchheight/craft-cookie-boss",
"description": "Allow your visitors to set their cookie preference.",
"type": "craft-plugin",
"version": "1.3.2",
"version": "1.3.2.2",
"keywords": [
"craft",
"cms",
Expand Down
4 changes: 2 additions & 2 deletions src/migrations/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ protected function createTables()
'siteId' => $this->integer(),
'handle' => $this->string(255)->notNull()->defaultValue(''),
'name' => $this->string(255)->notNull()->defaultValue(''),
'desc' => $this->text()->notNull()->defaultValue(''),
'desc' => $this->text()->notNull(),
'enabled' => $this->boolean()->notNull()->defaultValue(1),
'required' => $this->boolean()->notNull()->defaultValue(0),
'defaultValue' => $this->boolean()->notNull()->defaultValue(0),
Expand All @@ -130,7 +130,7 @@ protected function createTables()
'consentGroupId' => $this->integer(),
'name' => $this->string(255)->notNull()->defaultValue(''),
'key' => $this->string(255)->notNull()->defaultValue(''),
'desc' => $this->string(255)->notNull()->defaultValue(''),
'desc' => $this->text()->notNull(),
'purpose' => $this->string(255)->notNull()->defaultValue(''),
'enabled' => $this->boolean()->notNull()->defaultValue(1)
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class m200821_142415_edit_cookieboss_consentgroup_description extends Migration
*/
public function safeUp()
{
$this->alterColumn('{{%cookieboss_consentgroup}}', 'desc', $this->text()->notNull()->defaultValue(''));
$this->alterColumn('{{%cookieboss_consentgroup}}', 'desc', $this->text()->notNull());
}

/**
Expand Down

0 comments on commit 8b14fe4

Please sign in to comment.