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

Getting error while installation of plugin. #7

Open
bkrajendra opened this issue Aug 31, 2019 · 2 comments
Open

Getting error while installation of plugin. #7

bkrajendra opened this issue Aug 31, 2019 · 2 comments

Comments

@bkrajendra
Copy link

Getting Error while installation of plugin.

"SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json not null, `is_auth_required` tinyint(1) not null default '0', `created_at` ' at line 1 (SQL: create table `ipricegroup_ocapiplugin_resources` (`id` int unsigned not null auto_increment primary key, `base_endpoint` varchar(191) not null, `model_class` varchar(191) not null, `eager_load` json not null, `is_auth_required` tinyint(1) not null default '0', `created_at` timestamp null, `updated_at` timestamp null, `deleted_at` timestamp null) default character set utf8mb4 collate utf8mb4_unicode_ci engine = InnoDB)" on line 664 of 

@bkrajendra
Copy link
Author

solved temporarily by changing migration update file
$table->json('eager_load');
to
$table->string('eager_load');

dont know whats the reason.
Its working on one server with postgresql but not working on mysql

@bkrajendra
Copy link
Author

This issue is still not resolved in release. It can not be installed from plugin store. Any update.

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