From 57fb358a31a7844c9787ed3b61f4044b55937a6c Mon Sep 17 00:00:00 2001 From: batyrmastyr Date: Tue, 16 Dec 2025 18:03:52 +0400 Subject: [PATCH 1/4] Fix static analysis, check more PHP versions, optimize CI --- .../workflows/composer-require-checker.yml | 2 +- .github/workflows/mariadb.yml | 61 ++++++++++++------- .github/workflows/mssql.yml | 8 ++- .github/workflows/mutation.yml | 2 +- .github/workflows/mysql.yml | 38 +++++++++--- .github/workflows/oracle.yml | 30 ++++++--- .github/workflows/pgsql.yml | 34 ++++++++--- .github/workflows/rector.yml | 2 +- .github/workflows/sqlite.yml | 15 ++++- .github/workflows/static.yml | 7 ++- CHANGELOG.md | 1 + README.md | 16 ++--- src/DbSchemaManager.php | 10 ++- 13 files changed, 160 insertions(+), 66 deletions(-) diff --git a/.github/workflows/composer-require-checker.yml b/.github/workflows/composer-require-checker.yml index 0474238..fa5f1c7 100644 --- a/.github/workflows/composer-require-checker.yml +++ b/.github/workflows/composer-require-checker.yml @@ -30,4 +30,4 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.1', '8.2'] + ['8.1', '8.2', '8.3', '8.4', '8.5'] diff --git a/.github/workflows/mariadb.yml b/.github/workflows/mariadb.yml index 8d35aef..967db50 100644 --- a/.github/workflows/mariadb.yml +++ b/.github/workflows/mariadb.yml @@ -10,6 +10,7 @@ on: - 'psalm.xml' push: + branches: ['master'] paths-ignore: - 'docs/**' - 'README.md' @@ -27,38 +28,50 @@ concurrency: jobs: tests: - name: PHP ${{ matrix.php }}-${{ matrix.mariadb }} + name: PHP ${{ matrix.php }}-mariadb-${{ matrix.mariadb }} env: - extensions: pdo, pdo_mysql + EXTENSIONS: pdo, pdo_mysql - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: + max-parallel: 3 matrix: - os: - - ubuntu-latest - php: - - 8.1 - - 8.2 + - 8.5 mariadb: - - mariadb:10.4 - - mariadb:10.5 - - mariadb:10.6 - - mariadb:10.7 - - mariadb:10.8 - - mariadb:10.9 - - mariadb:latest + - 10.4 + - 10.5 + - 10.6 + - 10.7 + - 10.8 + - 10.9 + - 10 + - 11.0 + - 11 + - 12.0 + - 12 + - latest + + include: + - php: 8.1 + mariadb: latest + - php: 8.2 + mariadb: latest + - php: 8.3 + mariadb: latest + - php: 8.4 + mariadb: latest services: - mariadb: - image: ${{ matrix.mariadb }} + mysql: + image: mariadb:${{ matrix.mariadb }} env: - MYSQL_ALLOW_EMPTY_PASSWORD: true - MYSQL_PASSWORD: '' - MYSQL_DATABASE: yiitest + MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: true + MARIADB_ROOT_PASSWORD: '' + MARIADB_DATABASE: yiitest ports: - 3306:3306 options: --health-cmd="mariadb-admin ping" --health-interval=10s --health-timeout=5s --health-retries=3 @@ -78,14 +91,18 @@ jobs: - name: Update composer. run: composer self-update + - uses: "ramsey/composer-install@v3" + with: + composer-options: "--prefer-dist --no-interaction --no-progress --ansi" + - name: Install db-mysql. - run: composer require yiisoft/db-mysql:^1.0 --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi + run: composer require yiisoft/db-mysql --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi - name: Run tests with phpunit. run: vendor/bin/phpunit --testsuite=Mysql --coverage-clover=coverage.xml --colors=always - name: Upload coverage to Codecov. - if: matrix.php == '8.1' + if: matrix.php == '8.5' uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/mssql.yml b/.github/workflows/mssql.yml index 2a83091..52bb127 100644 --- a/.github/workflows/mssql.yml +++ b/.github/workflows/mssql.yml @@ -42,6 +42,8 @@ jobs: - 8.1 - 8.2 - 8.3 + - 8.4 + - 8.5 mssql: - server: 2025-latest @@ -49,17 +51,17 @@ jobs: flag: "-C" include: - - php: 8.3 + - php: 8.5 mssql: server: 2017-latest odbc-version: '' flag: "-C" - - php: 8.3 + - php: 8.5 mssql: server: 2019-latest odbc-version: 18 flag: "-C" - - php: 8.3 + - php: 8.5 mssql: server: 2022-latest odbc-version: 18 diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index 8a87598..d5b28b0 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -36,7 +36,7 @@ jobs: - ubuntu-latest php: - - 8.3 + - 8.4 services: mssql: diff --git a/.github/workflows/mysql.yml b/.github/workflows/mysql.yml index 3785630..d8240a2 100644 --- a/.github/workflows/mysql.yml +++ b/.github/workflows/mysql.yml @@ -10,6 +10,7 @@ on: - 'psalm.xml' push: + branches: ['master'] paths-ignore: - 'docs/**' - 'README.md' @@ -21,6 +22,10 @@ on: name: mysql +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: tests: name: PHP ${{ matrix.php }}-mysql-${{ matrix.mysql }} @@ -28,24 +33,33 @@ jobs: env: extensions: pdo, pdo_mysql - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: + max-parallel: 2 matrix: - os: - - ubuntu-latest - php: - - 8.1 - - 8.2 + - 8.5 mysql: - - mysql:5.7 - - mysql:latest + - 5.7 + - 8.4 + - 9.5 + - latest + + include: + - php: 8.1 + mysql: latest + - php: 8.2 + mysql: latest + - php: 8.3 + mysql: latest + - php: 8.4 + mysql: latest services: mysql: - image: ${{ matrix.mysql }} + image: mysql:${{ matrix.mysql }} env: MYSQL_ALLOW_EMPTY_PASSWORD: true MYSQL_PASSWORD: '' @@ -69,6 +83,10 @@ jobs: - name: Update composer. run: composer self-update + - uses: "ramsey/composer-install@v3" + with: + composer-options: "--prefer-dist --no-interaction --no-progress --ansi" + - name: Install db-mysql. run: composer require yiisoft/db-mysql --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi @@ -76,7 +94,7 @@ jobs: run: vendor/bin/phpunit --testsuite=Mysql --coverage-clover=coverage.xml --colors=always - name: Upload coverage to Codecov. - if: matrix.php == '8.1' + if: matrix.php == '8.5' uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/oracle.yml b/.github/workflows/oracle.yml index 4adcbc6..87cee3a 100644 --- a/.github/workflows/oracle.yml +++ b/.github/workflows/oracle.yml @@ -10,6 +10,7 @@ on: - 'psalm.xml' push: + branches: ['master'] paths-ignore: - 'docs/**' - 'README.md' @@ -21,6 +22,10 @@ on: name: oracle +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: tests: name: PHP ${{ matrix.php }}-oracle-${{ matrix.oracle }} @@ -28,21 +33,28 @@ jobs: env: extensions: pdo, pdo_oci, oci8 - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: + max-parallel: 2 matrix: - os: - - ubuntu-latest - php: - - 8.1 - - 8.2 + - 8.5 oracle: - 18 - 21 + include: + - php: 8.1 + oracle: latest + - php: 8.2 + oracle: latest + - php: 8.3 + oracle: latest + - php: 8.4 + oracle: latest + services: oci: image: gvenzl/oracle-xe:${{ matrix.oracle }} @@ -74,6 +86,10 @@ jobs: - name: Update composer. run: composer self-update + - uses: "ramsey/composer-install@v3" + with: + composer-options: "--prefer-dist --no-interaction --no-progress --ansi" + - name: Install db-oracle. run: composer require yiisoft/db-oracle --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi @@ -81,7 +97,7 @@ jobs: run: vendor/bin/phpunit --testsuite=Oracle --coverage-clover=coverage.xml --colors=always - name: Upload coverage to Codecov. - if: matrix.php == '8.1' + if: matrix.php == '8.5' uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/pgsql.yml b/.github/workflows/pgsql.yml index 2f75cfc..21fb005 100644 --- a/.github/workflows/pgsql.yml +++ b/.github/workflows/pgsql.yml @@ -10,6 +10,7 @@ on: - 'psalm.xml' push: + branches: ['master'] paths-ignore: - 'docs/**' - 'README.md' @@ -21,6 +22,10 @@ on: name: pgsql +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: tests: name: PHP ${{ matrix.php }}-pgsql-${{ matrix.pgsql }} @@ -28,16 +33,13 @@ jobs: env: extensions: pdo, pdo_pgsql - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: + max-parallel: 3 matrix: - os: - - ubuntu-latest - php: - - 8.1 - - 8.2 + - 8.5 pgsql: - 9 @@ -47,6 +49,20 @@ jobs: - 13 - 14 - 15 + - 16 + - 17 + - 18 + - latest + + include: + - php: 8.1 + pgsql: latest + - php: 8.2 + pgsql: latest + - php: 8.3 + pgsql: latest + - php: 8.4 + pgsql: latest services: postgres: @@ -75,6 +91,10 @@ jobs: - name: Update composer. run: composer self-update + - uses: "ramsey/composer-install@v3" + with: + composer-options: "--prefer-dist --no-interaction --no-progress --ansi" + - name: Install db-pgsql. run: composer require yiisoft/db-pgsql --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi @@ -82,7 +102,7 @@ jobs: run: vendor/bin/phpunit --testsuite=Pgsql --coverage-clover=coverage.xml --colors=always - name: Upload coverage to Codecov. - if: matrix.php == '8.1' + if: matrix.php == '8.5' uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/rector.yml b/.github/workflows/rector.yml index e083b5c..eb45694 100644 --- a/.github/workflows/rector.yml +++ b/.github/workflows/rector.yml @@ -25,4 +25,4 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.3'] + ['8.5'] diff --git a/.github/workflows/sqlite.yml b/.github/workflows/sqlite.yml index 23d1d0c..1a07760 100644 --- a/.github/workflows/sqlite.yml +++ b/.github/workflows/sqlite.yml @@ -10,6 +10,7 @@ on: - 'psalm.xml' push: + branches: ['master'] paths-ignore: - 'docs/**' - 'README.md' @@ -21,6 +22,10 @@ on: name: sqlite +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: tests: name: PHP ${{ matrix.php }}-${{ matrix.os }} @@ -31,6 +36,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: + max-parallel: 2 matrix: os: - ubuntu-latest @@ -39,6 +45,9 @@ jobs: php: - 8.1 - 8.2 + - 8.3 + - 8.4 + - 8.5 steps: - name: Checkout. @@ -56,6 +65,10 @@ jobs: - name: Update composer. run: composer self-update + - uses: "ramsey/composer-install@v3" + with: + composer-options: "--prefer-dist --no-interaction --no-progress --ansi" + - name: Install db-sqlite. run: composer require yiisoft/db-sqlite --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi @@ -63,7 +76,7 @@ jobs: run: vendor/bin/phpunit --testsuite=Sqlite --coverage-clover=coverage.xml --colors=always - name: Upload coverage to Codecov. - if: matrix.php == '8.1' + if: matrix.php == '8.5' uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index dfbecca..108dc08 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -33,8 +33,11 @@ jobs: - ubuntu-latest php: - - '8.1' - - '8.2' + - 8.1 + - 8.2 + - 8.3 + - 8.4 + - 8.5 steps: - name: Checkout. diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ef06a3..c2a3e4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 1.0.1 under development - Chg #74: Bump minimal required PHP version to 8.1 (@batyrmastyr) +- Enh #74: Mark `DbSchemaManager::$db`, `DbTarget::$db` and `DbTarget::$table` properties as readonly (@batyrmastyr) ## 1.0.0 May 09, 2023 diff --git a/README.md b/README.md index a5ceba4..12a116a 100644 --- a/README.md +++ b/README.md @@ -17,14 +17,14 @@ This package provides the Database target for the [yiisoft/log](https://github.c ## Supported databases -| Packages | PHP | Versions | CI-Actions | -|-----------------------------------------------------------|---------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| [[db-mssql]](https://github.com/yiisoft/db-mssql) | **8.1 - 8.2** | **2017 - 2022** | [![mssql](https://github.com/yiisoft/log-target-db/actions/workflows/mssql.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/mssql.yml) | | -| [[db-mysql]](https://github.com/yiisoft/db-mysql) (MySQL) | **8.1 - 8.2** | **5.7 - 8.0**| [![mysql](https://github.com/yiisoft/log-target-db/actions/workflows/mysql.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/mysql.yml) | -| [[db-mysql]](https://github.com/yiisoft/db-mysql) (MariaDB) | **8.1 - 8.2** | **10.4 - 10.10** | [![mariadb](https://github.com/yiisoft/log-target-db/actions/workflows/mariadb.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/mariadb.yml) | -| [[db-oracle]](https://github.com/yiisoft/db-oracle) | **8.1 - 8.2** | **11C - 21C** | [![oracle](https://github.com/yiisoft/log-target-db/actions/workflows/oracle.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/oracle.yml) | -| [[db-pgsql]](https://github.com/yiisoft/db-pgsql) | **8.1 - 8.2** | **9.0 - 15.0** | [![pgsql](https://github.com/yiisoft/log-target-db/actions/workflows/pgsql.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/pgsql.yml) | -| [[db-sqlite]](https://github.com/yiisoft/db-sqlite) | **8.1 - 8.2** | **3:latest** | [![sqlite](https://github.com/yiisoft/log-target-db/actions/workflows/sqlite.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/sqlite.yml) | +| Packages | PHP | Versions | CI-Actions | +|-----------------------------------------------------------|---------------|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| [[db-mssql]](https://github.com/yiisoft/db-mssql) | **8.1 - 8.4** | **2017 - 2025** | [![mssql](https://github.com/yiisoft/log-target-db/actions/workflows/mssql.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/mssql.yml) | | +| [[db-mysql]](https://github.com/yiisoft/db-mysql) (MySQL) | **8.1 - 8.4** | **5.7 - 9.5** | [![mysql](https://github.com/yiisoft/log-target-db/actions/workflows/mysql.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/mysql.yml) | +| [[db-mysql]](https://github.com/yiisoft/db-mysql) (MariaDB) | **8.1 - 8.4** | **10.4 - 12.10** | [![mariadb](https://github.com/yiisoft/log-target-db/actions/workflows/mariadb.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/mariadb.yml) | +| [[db-oracle]](https://github.com/yiisoft/db-oracle) | **8.1 - 8.4** | **11C - 21C** | [![oracle](https://github.com/yiisoft/log-target-db/actions/workflows/oracle.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/oracle.yml) | +| [[db-pgsql]](https://github.com/yiisoft/db-pgsql) | **8.1 - 8.4** | **9.0 - 18.0** | [![pgsql](https://github.com/yiisoft/log-target-db/actions/workflows/pgsql.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/pgsql.yml) | +| [[db-sqlite]](https://github.com/yiisoft/db-sqlite) | **8.1 - 8.4** | **3:latest** | [![sqlite](https://github.com/yiisoft/log-target-db/actions/workflows/sqlite.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/sqlite.yml) | ## Requirements diff --git a/src/DbSchemaManager.php b/src/DbSchemaManager.php index a174b03..bbb90be 100644 --- a/src/DbSchemaManager.php +++ b/src/DbSchemaManager.php @@ -11,6 +11,7 @@ use Yiisoft\Db\Exception\InvalidConfigException; use Yiisoft\Db\Exception\NotSupportedException; use Yiisoft\Db\Expression\Expression; +use Yiisoft\Db\Schema\Quoter; use Yiisoft\Db\Schema\SchemaInterface; /** @@ -37,7 +38,9 @@ public function ensureTable(string $table = '{{%yii_log}}'): void { $driverName = $this->db->getDriverName(); $schema = $this->db->getSchema(); - $tableRawName = $schema->getRawTableName($table); + /** @var Quoter $quoter */ + $quoter = $this->db->getQuoter(); + $tableRawName = $quoter->getRawTableName($table); if ($this->hasTable($table)) { return; @@ -97,8 +100,9 @@ public function ensureTable(string $table = '{{%yii_log}}'): void */ public function ensureNoTable(string $table = '{{%yii_log}}'): void { - $schema = $this->db->getSchema(); - $tableRawName = $schema->getRawTableName($table); + /** @var Quoter $quoter */ + $quoter = $this->db->getQuoter(); + $tableRawName = $quoter->getRawTableName($table); // drop table if ($this->db->getTableSchema($table, true) !== null) { From d2df408a8157cb14eb69c4e4126154a4bd337fc7 Mon Sep 17 00:00:00 2001 From: batyrmastyr Date: Wed, 17 Dec 2025 10:55:43 +0400 Subject: [PATCH 2/4] Fix static analysis, check more PHP versions, optimize CI --- .github/workflows/mutation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index d5b28b0..8a87598 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -36,7 +36,7 @@ jobs: - ubuntu-latest php: - - 8.4 + - 8.3 services: mssql: From bcf6b83fad54d2e01eea96692a1b24857ef98098 Mon Sep 17 00:00:00 2001 From: batyrmastyr Date: Wed, 17 Dec 2025 10:58:01 +0400 Subject: [PATCH 3/4] Mutation work only on 8.3 --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2d9a138..8408206 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,12 @@ This package provides the Database target for the [yiisoft/log](https://github.c | Packages | PHP | Versions | CI-Actions | |-----------------------------------------------------------|---------------|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| [[db-mssql]](https://github.com/yiisoft/db-mssql) | **8.1 - 8.4** | **2017 - 2025** | [![mssql](https://github.com/yiisoft/log-target-db/actions/workflows/mssql.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/mssql.yml) | | -| [[db-mysql]](https://github.com/yiisoft/db-mysql) (MySQL) | **8.1 - 8.4** | **5.7 - 9.5** | [![mysql](https://github.com/yiisoft/log-target-db/actions/workflows/mysql.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/mysql.yml) | -| [[db-mysql]](https://github.com/yiisoft/db-mysql) (MariaDB) | **8.1 - 8.4** | **10.4 - 12.10** | [![mariadb](https://github.com/yiisoft/log-target-db/actions/workflows/mariadb.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/mariadb.yml) | -| [[db-oracle]](https://github.com/yiisoft/db-oracle) | **8.1 - 8.4** | **11C - 21C** | [![oracle](https://github.com/yiisoft/log-target-db/actions/workflows/oracle.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/oracle.yml) | -| [[db-pgsql]](https://github.com/yiisoft/db-pgsql) | **8.1 - 8.4** | **9.0 - 18.0** | [![pgsql](https://github.com/yiisoft/log-target-db/actions/workflows/pgsql.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/pgsql.yml) | -| [[db-sqlite]](https://github.com/yiisoft/db-sqlite) | **8.1 - 8.4** | **3:latest** | [![sqlite](https://github.com/yiisoft/log-target-db/actions/workflows/sqlite.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/sqlite.yml) | +| [[db-mssql]](https://github.com/yiisoft/db-mssql) | **8.1 - 8.3** | **2017 - 2025** | [![mssql](https://github.com/yiisoft/log-target-db/actions/workflows/mssql.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/mssql.yml) | | +| [[db-mysql]](https://github.com/yiisoft/db-mysql) (MySQL) | **8.1 - 8.3** | **5.7 - 9.5** | [![mysql](https://github.com/yiisoft/log-target-db/actions/workflows/mysql.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/mysql.yml) | +| [[db-mysql]](https://github.com/yiisoft/db-mysql) (MariaDB) | **8.1 - 8.3** | **10.4 - 12.10** | [![mariadb](https://github.com/yiisoft/log-target-db/actions/workflows/mariadb.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/mariadb.yml) | +| [[db-oracle]](https://github.com/yiisoft/db-oracle) | **8.1 - 8.3** | **11C - 21C** | [![oracle](https://github.com/yiisoft/log-target-db/actions/workflows/oracle.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/oracle.yml) | +| [[db-pgsql]](https://github.com/yiisoft/db-pgsql) | **8.1 - 8.3** | **9.0 - 18.0** | [![pgsql](https://github.com/yiisoft/log-target-db/actions/workflows/pgsql.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/pgsql.yml) | +| [[db-sqlite]](https://github.com/yiisoft/db-sqlite) | **8.1 - 8.5** | **3:latest** | [![sqlite](https://github.com/yiisoft/log-target-db/actions/workflows/sqlite.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/sqlite.yml) | ## Requirements From d38fe9f4de099e91d48fb89c90c957d03996a1f6 Mon Sep 17 00:00:00 2001 From: batyrmastyr Date: Wed, 17 Dec 2025 11:05:24 +0400 Subject: [PATCH 4/4] Mutation work only on 8.3 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8408206..532c9f9 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ This package provides the Database target for the [yiisoft/log](https://github.c | [[db-mysql]](https://github.com/yiisoft/db-mysql) (MariaDB) | **8.1 - 8.3** | **10.4 - 12.10** | [![mariadb](https://github.com/yiisoft/log-target-db/actions/workflows/mariadb.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/mariadb.yml) | | [[db-oracle]](https://github.com/yiisoft/db-oracle) | **8.1 - 8.3** | **11C - 21C** | [![oracle](https://github.com/yiisoft/log-target-db/actions/workflows/oracle.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/oracle.yml) | | [[db-pgsql]](https://github.com/yiisoft/db-pgsql) | **8.1 - 8.3** | **9.0 - 18.0** | [![pgsql](https://github.com/yiisoft/log-target-db/actions/workflows/pgsql.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/pgsql.yml) | -| [[db-sqlite]](https://github.com/yiisoft/db-sqlite) | **8.1 - 8.5** | **3:latest** | [![sqlite](https://github.com/yiisoft/log-target-db/actions/workflows/sqlite.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/sqlite.yml) | +| [[db-sqlite]](https://github.com/yiisoft/db-sqlite) | **8.1 - 8.3** | **3:latest** | [![sqlite](https://github.com/yiisoft/log-target-db/actions/workflows/sqlite.yml/badge.svg)](https://github.com/yiisoft/log-target-db/actions/workflows/sqlite.yml) | ## Requirements