Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error typeJson does not exist #74

Open
zekuraz opened this issue Apr 16, 2021 · 0 comments
Open

Error typeJson does not exist #74

zekuraz opened this issue Apr 16, 2021 · 0 comments

Comments

@zekuraz
Copy link

zekuraz commented Apr 16, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant