LaravelCLITasksMigrateDatabase

Summary

No public properties found
No constants found
No protected properties found
N/A
No private methods found
No private properties found
N/A
File
cli asksmigratedatabase.php
Package
Default
Class hierarchy
LaravelCLITasksMigrateDatabase

Tags

None found

Methods

log()

log(string  $bundle, string  $name, integer  $batch) : void

Log a migration in the migration table.

Parameters

string $bundle
string $name
integer $batch

Tags

None found

delete()

delete(string  $bundle, string  $name) : void

Delete a row from the migration table.

Parameters

string $bundle
string $name

Tags

None found

last()

last() : array

Return an array of the last batch of migrations.

Returns

array

Tags

None found

ran()

ran(string  $bundle) : array

Get all of the migrations that have run for a bundle.

Parameters

string $bundle

Returns

array

Tags

None found

batch()

batch() : integer

Get the maximum batch ID from the migration table.

Returns

integer

Tags

None found

table()

table() : \Laravel\CLI\Tasks\Migrate\Laravel\Database\Query

Get a database query instance for the migration table.

Returns

LaravelCLITasksMigrateLaravelDatabaseQuery

Tags

None found