Skip to content

Commit

Permalink
v3.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
asanikovich committed Sep 26, 2024
1 parent f7d0dda commit 0174f72
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
php-versions: ['8.1', '8.2', '8.3']
fail-fast: false

services:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Doctrine DBAL driver for ClickHouse - an open-source column-oriented database ma

**Driver is suitable for Symfony or any other framework using Doctrine.**

* [v3](https://github.com/FriendsOfDoctrine/dbal-clickhouse/releases?q=v3.) supports Doctrine DBAL 4+ and PHP 8.1+
* [v2](https://github.com/FriendsOfDoctrine/dbal-clickhouse/releases?q=v2.) supports Doctrine DBAL 3+ and PHP 8.0+
* [v1](https://github.com/FriendsOfDoctrine/dbal-clickhouse/releases?q=v1.) supports Doctrine DBAL 2+ and PHP 7.1+

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
}
],
"require": {
"php": "^8.0",
"php": "^8.1",
"ext-pcre": "*",
"ext-mbstring": "*",
"doctrine/dbal": "^4.0",
"smi2/phpclickhouse": "^1.0"
},
"require-dev": {
"doctrine/coding-standard": "^4.0 || ^9.0",
"phpunit/phpunit": "^9.5"
"phpunit/phpunit": "^9.5 || ^10.0 || ^11.0"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions src/ClickHouseSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function listTableIndexes(string $table): array
$tableView = $this->_getPortableViewDefinition(['name' => $table]);

preg_match(
'/MergeTree\(([\w+, \(\)]+)(?= \(((?:[^()]|\((?2)\))+)\),)/mi',
'/MergeTree\(([\w+, ()]+)(?= \(((?:[^()]|\((?2)\))+)\),)/mi',
$tableView->getSql(),
$matches
);
Expand All @@ -80,7 +80,7 @@ public function listTableIndexes(string $table): array
);

return [
new Index(
'primary' => new Index(
current(array_reverse(explode('.', $table))) . '__pk',
$indexColumns,
false,
Expand Down

0 comments on commit 0174f72

Please sign in to comment.