public function generate()
{
$templateData = TemplateUtil::getTemplate('migration', 'laravel-generator');
$templateData = TemplateUtil::fillTemplate($this->commandData->dynamicVars, $templateData);
$templateData = str_replace('$FIELDS$', $this->generateFields(), $templateData);
$tableName = $this->commandData->dynamicVars['$TABLE_NAME$'];
$fileName = date('Y_m_d_His') . '_' . 'create_' . $tableName . '_table.php';
FileUtil::createFile($this->path, $fileName, $templateData);
$this->commandData->commandComment("\nMigration created: ");
$this->commandData->commandInfo($fileName);
}