From ab73cbc35d15d853319a551b9820dadc91dfafd2 Mon Sep 17 00:00:00 2001 From: michalsn Date: Mon, 28 Oct 2024 22:03:30 +0100 Subject: [PATCH] test --- .github/workflows/test-phpunit.yml | 10 ---------- .../Migrations/20160428212500_Create_test_tables.php | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/test-phpunit.yml b/.github/workflows/test-phpunit.yml index c1be033b8116..c2d89c9fa726 100644 --- a/.github/workflows/test-phpunit.yml +++ b/.github/workflows/test-phpunit.yml @@ -90,19 +90,9 @@ jobs: - '8.2' - '8.3' db-platform: - - MySQLi - - OCI8 - - Postgre - SQLSRV - - SQLite3 mysql-version: - '8.0' - include: - - php-version: '8.1' - db-platform: MySQLi - mysql-version: '5.7' - - php-version: '8.3' - composer-option: '--ignore-platform-req=php' uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo with: diff --git a/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php b/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php index 628c5c79b7dc..1c2139756b26 100644 --- a/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php +++ b/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php @@ -169,7 +169,7 @@ public function up(): void } if ($this->db->DBDriver === 'SQLSRV') { - $this->db->query('ALTER TABLE without_auto_increment ALTER COLUMN value VARCHAR(400) COLLATE Latin1_General_100_CS_AS_SC_UTF8'); + $this->forge->modifyColumn('without_auto_increment', ['value' => ['collate' => 'Latin1_General_100_CS_AS_SC_UTF8']]); } }