Skip to content

Commit

Permalink
Merge pull request #7976 from Sesquipedalian/raise_min_db_versions
Browse files Browse the repository at this point in the history
Raises minimum database versions
  • Loading branch information
Sesquipedalian authored Dec 30, 2023
2 parents af6df6b + 0b093af commit 4bc65a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions other/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
$databases = [
'mysql' => [
'name' => 'MySQL',
'version' => '5.6.0',
'version' => '8.0.35',
'version_check' => function () {
if (!function_exists('mysqli_fetch_row')) {
return false;
Expand Down Expand Up @@ -96,7 +96,7 @@
],
'postgresql' => [
'name' => 'PostgreSQL',
'version' => '9.6',
'version' => '12.17',
'version_check' => function () {
$request = pg_query(Db::$db->connection, 'SELECT version()');
list($version) = pg_fetch_row($request);
Expand Down
4 changes: 2 additions & 2 deletions other/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
$databases = [
'mysql' => [
'name' => 'MySQL',
'version' => '5.6.0',
'version' => '8.0.35',
'version_check' => function () {
if (!function_exists('mysqli_fetch_row')) {
return false;
Expand All @@ -65,7 +65,7 @@
],
'postgresql' => [
'name' => 'PostgreSQL',
'version' => '9.6',
'version' => '12.17',
'version_check' => function () {
if (!function_exists('pg_version')) {
return false;
Expand Down

0 comments on commit 4bc65a0

Please sign in to comment.