Centralized permission updated message for migrations.

This commit is contained in:
Jan Böhmer 2020-06-14 21:17:57 +02:00
parent 74e4c4d0d1
commit 00689b35ce
4 changed files with 17 additions and 3 deletions

View file

@ -36,7 +36,7 @@ final class Version20200311204104 extends AbstractMultiPlatformMigration
'SET perms_parts_parameters = 681 WHERE (id = 2 AND name = "readonly");';
$this->addSql($sql);
$this->write('<question>[!!!] Permissions were updated! Please check if they fit your expectations!</question>');
$this->printPermissionUpdateMessage();
}
public function mySQLDown(Schema $schema): void