db2 driver updates

This commit is contained in:
Mark Gregory
2026-11-11 13:18:47 +00:00
parent 76037ff72b
commit e85ab1da7b
46 changed files with 100 additions and 6663 deletions
+4 -2
View File
@@ -2,6 +2,8 @@
namespace Tests\Feature\Db2;
use Illuminate\Database\Migrations\DatabaseMigrationRepository;
use Illuminate\Database\Migrations\Migrator;
use Illuminate\Database\Schema\Blueprint;
class SchemaTest extends Db2TestCase
@@ -104,8 +106,8 @@ class SchemaTest extends Db2TestCase
$db = $this->db();
$schema = $db->getSchemaBuilder();
$table = 'stage5_'.bin2hex(random_bytes(6));
$repository = new \Illuminate\Database\Migrations\DatabaseMigrationRepository(app('db'), $table.'_history');
$migrator = new \Illuminate\Database\Migrations\Migrator($repository, app('db'), app('files'), app('events'));
$repository = new DatabaseMigrationRepository(app('db'), $table.'_history');
$migrator = new Migrator($repository, app('db'), app('files'), app('events'));
config(['stage5.table' => $table]);
$file = base_path('tests/Fixtures/Db2/2026_01_01_000000_stage5_schema.php');