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 typeJson does not exist #74

Open zekuraz opened 3 years ago

zekuraz commented 3 years ago

Hi !

When i try to create the spatie activity log table, i have this error

`Migrating: 2015_04_16_073458_create_activity_log_table

BadMethodCallException

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

at vendor/laravel/framework/src/Illuminate/Macroable/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▕

  +8 vendor frames 

9 database/migrations/2015_04_16_073458_create_activity_log_table.php:23 Illuminate\Database\Schema\Builder::create()

  +21 vendor frames 

31 artisan:37 Illuminate\Foundation\Console\Kernel::handle()`

They are a solution ?

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