File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
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 . '/database /migrations ' );
124
- Artisan::call ("make:migration $ this ->appName --path=/modules/ $ this ->appName /database /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 /database /migrations " );
115
+ Artisan::call ("make:migration $ this ->fileName --path=/modules/ $ this ->appName /Database /migrations " );
116
116
$ this ->info ('Successfully Created ' );
117
117
}
118
118
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public function register()
25
25
public function boot ()
26
26
{
27
27
$ this ->routeMap ();
28
- $ this ->loadMigrationsFrom (base_path ('AppPath/migrations ' ));
28
+ $ this ->loadMigrationsFrom (base_path ('AppPath/Database/ migrations ' ));
29
29
$ this ->loadViewsFrom (base_path ('AppPath/resources ' ),'Example ' );
30
30
}
31
31
You can’t perform that action at this time.
0 commit comments