diff --git a/dev/install/DatabaseConfigurationHelper.php b/dev/install/DatabaseConfigurationHelper.php index 70f7029ea..7963d94cc 100644 --- a/dev/install/DatabaseConfigurationHelper.php +++ b/dev/install/DatabaseConfigurationHelper.php @@ -30,6 +30,13 @@ interface DatabaseConfigurationHelper { */ public function requireDatabaseConnection($databaseConfig); + /** + * Ensure that the database version is correct. + * @param array $databaseConfig Associative array of db configuration, e.g. "server", "username" etc + * @return array Result - e.g. array('success' => true, 'error' => 'details of error') + */ + public function requireDatabaseVersion($databaseConfig); + /** * Ensure that the database connection is able to use an existing database, * or be able to create one if it doesn't exist.