OwenIt\Auditing\Console\AuditingTableCommand::createBaseMigration PHP Méthode

createBaseMigration() protected méthode

Create a base migration file for the audits.
protected createBaseMigration ( ) : string
Résultat string
    protected function createBaseMigration()
    {
        $name = 'create_audits_table';
        $path = $this->laravel->databasePath() . '/migrations';
        return $this->laravel['migration.creator']->create($name, $path);
    }