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
|
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',
|
'ALTER',
|
||||||
'DROP',
|
'DROP',
|
||||||
'INDEX',
|
'INDEX',
|
||||||
|
'USAGE', // PostgreSQL
|
||||||
'TEMPORARY', // PostgreSql
|
'TEMPORARY', // PostgreSql
|
||||||
'CREATE TEMPORARY TABLES' // MySQL
|
'CREATE TEMPORARY TABLES' // MySQL
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue