新增seedPath创建方法
This commit is contained in:
@@ -84,7 +84,11 @@ class CatchAdmin
|
||||
*/
|
||||
public static function moduleSeedsDirectory($module): string
|
||||
{
|
||||
return self::directory() . $module . DIRECTORY_SEPARATOR . 'database' . DIRECTORY_SEPARATOR. 'seeds' . DIRECTORY_SEPARATOR;
|
||||
$seedPath = self::directory() . $module . DIRECTORY_SEPARATOR . 'database' . DIRECTORY_SEPARATOR. 'seeds' . DIRECTORY_SEPARATOR;
|
||||
|
||||
self::makeDirectory($seedPath);
|
||||
|
||||
return $seedPath;
|
||||
}
|
||||
|
||||
/**
|
||||
|
0
extend/catcher/command/stubs/permissionSeed.stub
Normal file
0
extend/catcher/command/stubs/permissionSeed.stub
Normal file
Reference in New Issue
Block a user