From ac27572314672d02eacb6e808479814f54ee988e Mon Sep 17 00:00:00 2001 From: ckogler Date: Fri, 17 Feb 2023 11:35:43 +0100 Subject: [PATCH] fix: Restrict Process execution to Permission #166 --- src/Migrations/Version20230217000000.php | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/Migrations/Version20230217000000.php diff --git a/src/Migrations/Version20230217000000.php b/src/Migrations/Version20230217000000.php new file mode 100644 index 0000000..fa386a6 --- /dev/null +++ b/src/Migrations/Version20230217000000.php @@ -0,0 +1,36 @@ +addSql( + 'UPDATE bundle_process_manager_configuration SET `restrictToPermissions` = "" WHERE `restrictToPermissions` IS null' + ); + $this->addSql( + 'ALTER TABLE `bundle_process_manager_configuration` MODIFY `restrictToPermissions` MEDIUMTEXT NOT NULL DEFAULT ""' + ); + } + + /** + * @param Schema $schema + */ + public function down(Schema $schema): void + { + } +}