Skip to content

Could not check compatibility #1

Description

@tegansnyder

I tried setting this up on a vanilla install of Laravel and after running php artisan migrate I get the following error:

Could not check compatibility between YuK1\LaravelRedshift\Database\RedshiftConnection::getSchemaState(?Illuminate\Database\Filesystem $files = NULL, ?callable $processFactory = NULL) and Illuminate\Database\PostgresConnection::getSchemaState(?Illuminate\Filesystem\Filesystem $files = NULL, ?callable $processFactory = NULL), because class Illuminate\Database\Filesystem is not available

  at vendor/yuk1/laravel-redshift/src/Database/RedshiftConnection.php:34
     30▕     {
     31▕         return $this->withTablePrefix(new SchemaGrammar);
     32▕     }
     33▕
  ➜  34▕     public function getSchemaState(Filesystem $files = null, callable $processFactory = null)
     35▕     {
     36▕         return new RedshiftSchemaState($this, $files, $processFactory);
     37▕     }
     38▕

      +3 vendor frames
  4   [internal]:0
      Composer\Autoload\ClassLoader::loadClass("YuK1\LaravelRedshift\Database\RedshiftConnection")

      +25 vendor frames
  30  artisan:37
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

This is on:
Laravel v8.47.0 (PHP v7.4.11)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions