From 49a22ebdf09ded0aa35bae3f75ca71c8787dd5a3 Mon Sep 17 00:00:00 2001 From: Thilina Date: Sun, 27 Jun 2021 17:39:22 +0200 Subject: [PATCH] Add migration for S3 settings --- .../v20210606_290001_update_s3_config.php | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 core/migrations/v20210606_290001_update_s3_config.php diff --git a/core/migrations/v20210606_290001_update_s3_config.php b/core/migrations/v20210606_290001_update_s3_config.php new file mode 100644 index 00000000..eba8e8c1 --- /dev/null +++ b/core/migrations/v20210606_290001_update_s3_config.php @@ -0,0 +1,31 @@ +executeQuery($sql); + + $sql = <<<'SQL' +UPDATE `Settings` + SET category = 'System' +WHERE name like 'Files:%'; +SQL; + + return $this->executeQuery($sql); + } + + public function down() + { + return true; + } +}