private function create_project_migration($name) {
		$name = preg_replace(array('/\s/', '/\.[\.]+/', '/[^\w_\.\-]/'), array('_', '.', ''), $name);

		$datetime = date('Ymd_His');
		$filename = $datetime . '_' . strtolower($name) . '.php';
		$classname = 'Migration_' . $datetime . '_' . ucfirst($name);

		$template = file_get_contents(__DIR__ . '/../template/migration.php');
		$template = str_replace('%%namespace%%', '', $template);
		$template = str_replace('%%classname%%', $classname, $template);
		file_put_contents(\Skeleton\Database\Migration\Config::$migration_directory . '/' . $filename, $template);
		return \Skeleton\Database\Migration\Config::$migration_directory . '/' . $filename;
	}
private function create_project_migration($name) {
		$name = preg_replace(array('/\s/', '/\.[\.]+/', '/[^\w_\.\-]/'), array('_', '.', ''), $name);

		$datetime = date('Ymd_His');
		$filename = $datetime . '_' . strtolower($name) . '.php';
		$classname = 'Migration_' . $datetime . '_' . ucfirst($name);

		$template = file_get_contents(__DIR__ . '/../template/migration.php');
		$template = str_replace('%%namespace%%', '', $template);
		$template = str_replace('%%classname%%', $classname, $template);
		file_put_contents(\Skeleton\Database\Migration\Config::$migration_directory . '/' . $filename, $template);
		return \Skeleton\Database\Migration\Config::$migration_directory . '/' . $filename;
	}
private function create_project_migration ( $ name ) { $ name = preg_replace ( array ( '/\s/' , '/\.[\.]+/' , '/[^\w_\.\-]/' ) , array ( '_' , '.' , '' ) , $ name ) ; $ datetime = date ( 'Ymd_His' ) ; $ filename = $ datetime . '_' . strtolower ( $ name ) . '.php' ; $ classname = 'Migration_' . $ datetime . '_' . ucfirst ( $ name ) ; $ template = file_get_contents ( __DIR__ . '/../template/migration.php' ) ; $ template = str_replace ( '%%namespace%%' , '' , $ template ) ; $ template = str_replace ( '%%classname%%' , $ classname , $ template ) ; file_put_contents ( \ Skeleton \ Database \ Migration \ Config :: $ migration_directory . '/' . $ filename , $ template ) ; return \ Skeleton \ Database \ Migration \ Config :: $ migration_directory . '/' . $ filename ; }
Create project migration

@access private
@param string $name
@return string $path
Create project migration