You are here

public function Tasks::minimumVersion in Drupal driver for SQL Server and SQL Azure 3.0.x

Same name and namespace in other branches
  1. 8.2 drivers/lib/Drupal/Driver/Database/sqlsrv/Install/Tasks.php \Drupal\Driver\Database\sqlsrv\Install\Tasks::minimumVersion()
  2. 8 drivers/lib/Drupal/Driver/Database/sqlsrv/Install/Tasks.php \Drupal\Driver\Database\sqlsrv\Install\Tasks::minimumVersion()

Return the minimum required version of the engine.

Return value

A version string. If not NULL, it will be checked against the version reported by the Database engine using version_compare().

Overrides Tasks::minimumVersion

File

drivers/lib/Drupal/Driver/Database/sqlsrv/Install/Tasks.php, line 49

Class

Tasks
Specifies installation tasks for PostgreSQL databases.

Namespace

Drupal\Driver\Database\sqlsrv\Install

Code

public function minimumVersion() {

  // SQL Server 2019 - 15.x - 2025-01-07.
  // SQL Server 2017 - 14.x - 2022-10-11.
  // SQL Server 2016 - 13.x - 2021-07-13.
  return '13.0';
}