src/commands/MigrationCommand.php
protected function createMigration($tables)
    {
        $codeColumn = Config::get('verifier.store_column');
        $flagColumn = Config::get('verifier.flag_column');

        $migrationFile = base_path("/database/migrations")."/".date('Y_m_d_His')."_verifier_add_columns.php";

        $data = compact('codeColumn', 'flagColumn', 'tables');

        $output = $this->laravel->view->make('verifier::generators.migration')->with($data)->render();

        if (!file_exists($migrationFile) && $fs = fopen($migrationFile, 'x')) {

            fwrite($fs, $output);
            fclose($fs);
            return true;

        }

        return false;

    }
protected function createMigration($tables)
    {
        $codeColumn = Config::get('verifier.store_column');
        $flagColumn = Config::get('verifier.flag_column');

        $migrationFile = base_path("/database/migrations")."/".date('Y_m_d_His')."_verifier_add_columns.php";

        $data = compact('codeColumn', 'flagColumn', 'tables');

        $output = $this->laravel->view->make('verifier::generators.migration')->with($data)->render();

        if (!file_exists($migrationFile) && $fs = fopen($migrationFile, 'x')) {

            fwrite($fs, $output);
            fclose($fs);
            return true;

        }

        return false;

    }
Create the migration.

@param array $tables

@return bool