Migrator
class Migrator extends Migrator
Migrator
Properties
protected string | $table |
Methods
__construct(string $table, MigrationRepositoryInterface $repository, ConnectionResolverInterface $resolver, Filesystem $files)
Create a new migrator instance.
array
rollback(array|string $paths = [], array $options = [])
Rollback the last migration operation.
Collection
getRanMigrations()
Get all the ran migrations.
Details
at line 33
__construct(string $table, MigrationRepositoryInterface $repository, ConnectionResolverInterface $resolver, Filesystem $files)
Create a new migrator instance.
at line 53
array
rollback(array|string $paths = [], array $options = [])
Rollback the last migration operation.
at line 110
Collection
getRanMigrations()
Get all the ran migrations.