App]
This commit is contained in:
27
kernel/console/CgMigrationCreator.php
Normal file
27
kernel/console/CgMigrationCreator.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace kernel\console;
|
||||
|
||||
|
||||
use Illuminate\Database\Migrations\MigrationCreator;
|
||||
|
||||
class CgMigrationCreator extends MigrationCreator
|
||||
{
|
||||
|
||||
/**
|
||||
* Get the path to the stubs.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function stubPath(): string
|
||||
{
|
||||
return ROOT_DIR . '/kernel/console/migrations/stubs';
|
||||
}
|
||||
|
||||
public static function getCustomStubPath(): string
|
||||
{
|
||||
return ROOT_DIR . '/kernel/console/migrations/stubs';
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user