diff --git a/composer.json b/composer.json index 144f886..eb620b2 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "type": "phpbb-extension", "description": "Enables tagging of topics", "homepage": "https://github.com/RobertHeim/phpbb-ext-topictags", - "version": "0.0.5-DEV", + "version": "0.0.6-DEV", "time": "2014-09-29", "keywords": ["phpbb", "extension", "topic tags", "tag", "tagging"], "license": "GPL-2.0", diff --git a/migrations/release_0_0_6.php b/migrations/release_0_0_6.php new file mode 100644 index 0000000..54bff50 --- /dev/null +++ b/migrations/release_0_0_6.php @@ -0,0 +1,36 @@ +config[PREFIXES::CONFIG.'_version'], $this->version, '>='); + } + + static public function depends_on() + { + return array( + '\robertheim\topictags\migrations\release_0_0_5', + ); + } + + public function update_data() + { + return array( + array('config.update', array(PREFIXES::CONFIG.'_version', $this->version)), + ); + } +} +