File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ private function createModel()
120
120
121
121
private function createMigration ()
122
122
{
123
- (new Filesystem ())->ensureDirectoryExists ($ this ->appPath . '/migrations ' );
124
- Artisan::call ("make:migration $ this ->appName --path=/modules/ $ this ->appName /migrations " );
123
+ (new Filesystem ())->ensureDirectoryExists ($ this ->appPath . '/database/ migrations ' );
124
+ Artisan::call ("make:migration $ this ->appName --path=/modules/ $ this ->appName /database/ migrations " );
125
125
}
126
126
127
127
private function createController ()
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ private function addModel()
112
112
113
113
private function addMigrations ()
114
114
{
115
- Artisan::call ("make:migration $ this ->fileName --path=/modules/ $ this ->appName /migrations " );
115
+ Artisan::call ("make:migration $ this ->fileName --path=/modules/ $ this ->appName /database/ migrations " );
116
116
$ this ->info ('Successfully Created ' );
117
117
}
118
118
You can’t perform that action at this time.
0 commit comments