diff --git a/backend/migrations/m200912_221826_version_bump_v0_13.php b/backend/migrations/m200912_221826_version_bump_v0_13.php new file mode 100644 index 000000000..64bf3f270 --- /dev/null +++ b/backend/migrations/m200912_221826_version_bump_v0_13.php @@ -0,0 +1,25 @@ +update('sysconfig', ['val'=>'v0.13'], ['id'=>'platform_version']); + $this->update('sysconfig', ['val'=>new Expression('REPLACE(val,"v0.12","v0.13")')], ['id' => 'frontpage_scenario']); + } + + /** + * {@inheritdoc} + */ + public function safeDown() + { + $this->update('sysconfig', ['val'=>'v0.12'], ['id'=>'platform_version']); + $this->update('sysconfig', ['val'=>new Expression('REPLACE(val,"v0.13","v0.12")')], ['id' => 'frontpage_scenario']); + } +}