mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
Update PostgreSQLDatabaseConfigurationHelper.php
In prepration for https://github.com/silverstripe/sapphire/pull/1319 Probably should accept this at the same time. If someone knows of the relevant ALTER permissions in Postgres, feel free to implment.
This commit is contained in:
parent
c389d79398
commit
0c7362bbc5
@ -162,4 +162,15 @@ class PostgreSQLDatabaseConfigurationHelper implements DatabaseConfigurationHelp
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Ensure we have permissions to alter tables.
|
||||||
|
*
|
||||||
|
* @param array $databaseConfig Associative array of db configuration, e.g. "server", "username" etc
|
||||||
|
* @return array Result - e.g. array('okay' => true, 'applies' => true), where applies is whether
|
||||||
|
* the test is relevant for the database
|
||||||
|
*/
|
||||||
|
public function requireDatabaseAlterPermissions($databaseConfig) {
|
||||||
|
return array('success' => true, 'applies' => false);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user