diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c0eeb7..8ad9cf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [1.3.3] - 2018-05-02 +### Changed +- Adjusted the length of the uid on mysql (cache tag fallback) + ## [1.3.2] - 2018-04-05 ### Changed - Changed version constraint to `craftcms/cms: ^3.0.0` diff --git a/composer.json b/composer.json index 419529f..786a203 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "ostark/upper", "description": "A cache plugin for Craft - supporting multiple Edge Caches", "type": "craft-plugin", - "version": "1.3.2", + "version": "1.3.3", "keywords": [ "craft", "cms", diff --git a/src/migrations/Install.php b/src/migrations/Install.php index bd34eb2..2390fbd 100644 --- a/src/migrations/Install.php +++ b/src/migrations/Install.php @@ -19,7 +19,7 @@ public function safeUp() if ($this->getDb()->getIsMysql()) { $this->createTable(Plugin::CACHE_TABLE, [ - 'uid' => $this->string(32)->notNull()->unique(), + 'uid' => $this->string(40)->notNull()->unique(), 'url' => $this->string(255)->notNull(), 'headers' => $this->text()->defaultValue(null), 'tags' => $this->string(255)->notNull(),