Add missing pgsql `USAGE` privilege
This commit is contained in:
parent
fca2323b1c
commit
a99f685d15
|
@ -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'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -83,6 +83,7 @@ class WebWizard extends Wizard implements SetupWizard
|
|||
'ALTER',
|
||||
'DROP',
|
||||
'INDEX',
|
||||
'USAGE', // PostgreSQL
|
||||
'TEMPORARY', // PostgreSql
|
||||
'CREATE TEMPORARY TABLES' // MySQL
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue