Add missing pgsql `USAGE` privilege

This commit is contained in:
Yonas Habteab 2023-09-28 08:34:08 +02:00
parent fca2323b1c
commit a99f685d15
2 changed files with 2 additions and 1 deletions

View File

@ -207,7 +207,7 @@ final class MigrationManager implements Countable
*/
public function getRequiredDatabasePrivileges(): array
{
return ['CREATE','SELECT','INSERT','UPDATE','DELETE','DROP','ALTER','CREATE VIEW','INDEX','EXECUTE'];
return ['CREATE','SELECT','INSERT','UPDATE','DELETE','DROP','ALTER','CREATE VIEW','INDEX','EXECUTE','USAGE'];
}
/**

View File

@ -83,6 +83,7 @@ class WebWizard extends Wizard implements SetupWizard
'ALTER',
'DROP',
'INDEX',
'USAGE', // PostgreSQL
'TEMPORARY', // PostgreSql
'CREATE TEMPORARY TABLES' // MySQL
);