mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-17 08:11:14 +02:00
Centralized permission updated message for migrations.
This commit is contained in:
parent
74e4c4d0d1
commit
00689b35ce
4 changed files with 17 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue