mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Merge pull request #6117 from kenjis/fix-migration-all-sqlite3-error
fix: `migrate --all` causes `Class "SQLite3" not found` error
This commit is contained in:
commit
c4901f411f
@ -402,6 +402,10 @@ class MigrationRunner
|
||||
$migrations = [];
|
||||
|
||||
foreach ($namespaces as $namespace) {
|
||||
if (ENVIRONMENT !== 'testing' && $namespace === 'Tests\Support') {
|
||||
continue;
|
||||
}
|
||||
|
||||
foreach ($this->findNamespaceMigrations($namespace) as $migration) {
|
||||
$migrations[$migration->uid] = $migration;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user