FEATURE #2520: add commands for creating new migration and running migrations in modules

This commit is contained in:
Michal Kváček
2017-09-01 23:25:26 +02:00
parent c92ba41def
commit a5b6f6fa0d
22 changed files with 173 additions and 3 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ class CreateNew extends Command
mkdir($path);
// copy stub files
\File::copyDirectory(config('modules.paths.stubs'), $path);
\File::copyDirectory(config('modules.paths.stubs').'/NewModule', $path);
$files = \File::allFiles($path);
foreach ($files as $file) {