db2 driver updates
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user