diff --git a/CHANGELOG.md b/CHANGELOG.md index 451940f..f0ea93c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,4 +82,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Fixed - Added validation [#11](https://github.com/dutchheight/craft-cookie-boss/issues/11). - Changed consent group description to text columt [#9](https://github.com/dutchheight/craft-cookie-boss/issues/9). -- Spelling mistake [#10](https://github.com/dutchheight/craft-cookie-boss/issues/10). \ No newline at end of file +- Spelling mistake [#10](https://github.com/dutchheight/craft-cookie-boss/issues/10). + +## 1.3.2 - 2020-09-10 +### Fixed +- Migration error [#15](https://github.com/dutchheight/craft-cookie-boss/issues/15) \ No newline at end of file diff --git a/composer.json b/composer.json index 6f796d4..634ccd2 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "dutchheight/craft-cookie-boss", "description": "Allow your visitors to set their cookie preference.", "type": "craft-plugin", - "version": "1.3.1", + "version": "1.3.2", "keywords": [ "craft", "cms", diff --git a/src/assetbundles/cookieboss/CookieBossAsset.php b/src/assetbundles/cookieboss/CookieBossAsset.php index 07c2490..1a8ad14 100644 --- a/src/assetbundles/cookieboss/CookieBossAsset.php +++ b/src/assetbundles/cookieboss/CookieBossAsset.php @@ -8,7 +8,7 @@ * @copyright Copyright (c) 2019 Dutch Height */ -namespace dutchheight\cookieboss\assetbundles\cookieBoss; +namespace dutchheight\cookieboss\assetbundles\cookieboss; use Craft; use craft\web\AssetBundle; diff --git a/src/assetbundles/cookieboss/dist/css/CookieBoss.css b/src/assetbundles/cookieboss/dist/css/CookieBoss.css index b70ce1f..0001cfa 100644 --- a/src/assetbundles/cookieboss/dist/css/CookieBoss.css +++ b/src/assetbundles/cookieboss/dist/css/CookieBoss.css @@ -174,9 +174,6 @@ } @media (min-width: 768px) { - #cookie-boss { - - } #cookie-boss-modal { z-index: 999; diff --git a/src/migrations/Install.php b/src/migrations/Install.php index 4557840..5e8cea5 100644 --- a/src/migrations/Install.php +++ b/src/migrations/Install.php @@ -103,6 +103,7 @@ protected function createTables() '{{%cookieboss_consentgroup}}', [ 'id' => $this->primaryKey(), + 'order' => $this->integer()->null(), 'dateCreated' => $this->dateTime()->notNull(), 'dateUpdated' => $this->dateTime()->notNull(), 'uid' => $this->uid(), @@ -110,7 +111,7 @@ protected function createTables() 'siteId' => $this->integer(), 'handle' => $this->string(255)->notNull()->defaultValue(''), 'name' => $this->string(255)->notNull()->defaultValue(''), - 'desc' => $this->string(255)->notNull()->defaultValue(''), + 'desc' => $this->text()->notNull()->defaultValue(''), 'enabled' => $this->boolean()->notNull()->defaultValue(1), 'required' => $this->boolean()->notNull()->defaultValue(0), 'defaultValue' => $this->boolean()->notNull()->defaultValue(0),