Пример #1
0
 public function init()
 {
     parent::init();
     $this->command('upgrade', 'LazyRecord\\Command\\MigrateUpgradeCommand');
     $this->command('downgrade', 'LazyRecord\\Command\\MigrateDowngradeCommand');
     $this->command('new', 'LazyRecord\\Command\\MigrateNewCommand');
     $this->command('automatic', 'LazyRecord\\Command\\MigrateAutomaticCommand');
     $this->command('status', 'LazyRecord\\Command\\MigrateStatusCommand');
     $this->command('diff', 'LazyRecord\\Command\\MigrateNewFromDiffCommand');
 }