31 lines
617 B
PHP
31 lines
617 B
PHP
<?php namespace ZN\Console;
|
|
/**
|
|
* ZN PHP Web Framework
|
|
*
|
|
* "Simplicity is the ultimate sophistication." ~ Da Vinci
|
|
*
|
|
* @package ZN
|
|
* @license MIT [http://opensource.org/licenses/MIT]
|
|
* @author Ozan UYKUN [ozan@znframework.com]
|
|
*/
|
|
|
|
use Migration;
|
|
|
|
/**
|
|
* @command multiup-migration
|
|
* @description multiup-migration {name1, name2 ...}
|
|
*/
|
|
class MultiupMigration
|
|
{
|
|
/**
|
|
* Magic constructor
|
|
*
|
|
* @param string $command
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct($command, $parameters)
|
|
{
|
|
new Result(Migration::upAll($command, ...$parameters));
|
|
}
|
|
} |