src/Commands/Create.php
public function moveMigrationFile()
    {
        $from = base_path('Modules/'.$this->module.'/database/migrations/2016_01_04_225000_create_objects_table.php');
        $to = base_path('database/migrations/'.date('Y_m_d_His').'_create_'.strtolower($this->module).'_table.php');
        $this->files->move($from, $to);
    }
public function moveMigrationFile()
    {
        $from = base_path('Modules/'.$this->module.'/database/migrations/2016_01_04_225000_create_objects_table.php');
        $to = base_path('database/migrations/'.date('Y_m_d_His').'_create_'.strtolower($this->module).'_table.php');
        $this->files->move($from, $to);
    }
public function moveMigrationFile ( ) { $ from = base_path ( 'Modules/' . $ this -> module . '/database/migrations/2016_01_04_225000_create_objects_table.php' ) ; $ to = base_path ( 'database/migrations/' . date ( 'Y_m_d_His' ) . '_create_' . strtolower ( $ this -> module ) . '_table.php' ) ; $ this -> files -> move ( $ from , $ to ) ; }
Rename and move migration file.
Rename and move migration file .