MigrationCommand
class MigrationCommand extends AbstractCommand (View source)
Traits
Properties
protected Setting | $setting | Store dirname |
from AbstractCommand |
protected array | $namespaces | The application namespace |
from AbstractCommand |
protected ArgOption | $arg | The Arg Option instance |
from AbstractCommand |
Methods
throwFailsCommand(string $message, string $command = null)
Throw fails command
from
ConsoleInformation
void
migrate(string $model)
Make a migration command
void
rollback(string $model)
Rollback migration command
void
reset(string $model)
Reset migration command
void
generate(string $model)
Create a migration command
Details
protected
throwFailsCommand(string $message, string $command = null)
Throw fails command
void
migrate(string $model)
Make a migration command
void
rollback(string $model)
Rollback migration command
void
reset(string $model)
Reset migration command
void
generate(string $model)
Create a migration command