backend/kernel/console/CgMigrationCreator.php

27 lines
467 B
PHP
Raw Normal View History

2024-07-29 15:57:20 +03:00
<?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';
}
}