From 6a1bcdb1180b9531f6e1b3a40c48d25e68cabf95 Mon Sep 17 00:00:00 2001 From: Thomas Schulze Date: Mon, 20 Sep 2021 17:35:34 +0200 Subject: [PATCH] fix schema version --- CHANGELOG.md | 3 +- composer.json | 2 +- src/Glossary.php | 2 +- .../m210920_000000_fix_schema_version.php | 28 +++++++++++++++++++ 4 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 src/migrations/m210920_000000_fix_schema_version.php diff --git a/CHANGELOG.md b/CHANGELOG.md index b3a978f..d51f959 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,11 @@ # Release Notes for Glossary for Craft CMS -## Unreleased +## 1.0.2 - 2021-09-20 ### Fixed - Deleting disabled terms is fixed. +- Fixed wrong schema version. ## 1.0.1 - 2021-09-16 diff --git a/composer.json b/composer.json index 12b6c2b..ddbce26 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "codemonauts/craft-glossary", "description": "Add glossaries with tooltips to Craft CMS.", - "version": "1.0.1", + "version": "1.0.2", "type": "craft-plugin", "keywords": [ "craft", diff --git a/src/Glossary.php b/src/Glossary.php index c2dbcd9..c917397 100644 --- a/src/Glossary.php +++ b/src/Glossary.php @@ -41,7 +41,7 @@ class Glossary extends Plugin /** * @inheritDoc */ - public $schemaVersion = '1.0.1'; + public $schemaVersion = '1.0.2'; /** * @inheritDoc diff --git a/src/migrations/m210920_000000_fix_schema_version.php b/src/migrations/m210920_000000_fix_schema_version.php new file mode 100644 index 0000000..1fd1450 --- /dev/null +++ b/src/migrations/m210920_000000_fix_schema_version.php @@ -0,0 +1,28 @@ +