cooperl22 / laravel-db2

laravel-db2 is a simple DB2 service provider for Laravel. It provides DB2 Connection by extending the Illuminate Database component of the laravel framework.
Other
59 stars 65 forks source link

Error typeTinyInteger does not exist #70

Open zekuraz opened 4 years ago

zekuraz commented 4 years ago

Hi !

When i try to create the jobs table, i have this error

php artisan queue:table
php artisan migrate

Migrating: 2020_10_19_091025_create_jobs_table

   BadMethodCallException 

  Method Cooperl\DB2\Database\Schema\Grammars\DB2Grammar::typeTinyInteger does not exist.

  at vendor/laravel/framework/src/Illuminate/Support/Traits/Macroable.php:103
     99|      */
    100|     public function __call($method, $parameters)
    101|     {
    102|         if (! static::hasMacro($method)) {
  > 103|             throw new BadMethodCallException(sprintf(
    104|                 'Method %s::%s does not exist.', static::class, $method
    105|             ));
    106|         }
    107| 

      +9 vendor frames 
  10  database/migrations/2020_10_19_091025_create_jobs_table.php:24
      Illuminate\Support\Facades\Facade::__callStatic("create")

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

They are a solution ?

I would like to express my gratitude for all your help in this matter