AdamWathan\EloquentOAuthL5\Installation\InstallCommand::publishMigrations PHP Method

publishMigrations() public method

public publishMigrations ( )
    public function publishMigrations()
    {
        $name = 'create_oauth_identities_table';
        $path = $this->laravel['path.database'] . '/migrations';
        $fullPath = $this->laravel['migration.creator']->create($name, $path);
        $this->filesystem->put($fullPath, $this->filesystem->get(__DIR__ . '/../../migrations/create_oauth_identities_table.stub'));
    }