I’ve been using this:
$tables = DB::connection()->getDoctrineSchemaManager()->listTableNames();
It requires doctrine/dbal as a dependency. But some migration features already need DBAL to work.
I’ve been using this:
$tables = DB::connection()->getDoctrineSchemaManager()->listTableNames();
It requires doctrine/dbal as a dependency. But some migration features already need DBAL to work.