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

You pushed Laravel library 3 years ago. Do you believe, this library will work on Laravel 10? #149

Open
awesome1128 opened this issue Aug 10, 2023 · 3 comments

Comments

@awesome1128
Copy link

awesome1128 commented Aug 10, 2023

You pushed Laravel library 3 years ago. Do you believe, this library will work on Laravel 10?

And when I run "php artisan migrate" command in Laravel project, I keep getting this error.
image

Do you know why?
Please let me know, thanks.

@awesome1128
Copy link
Author

awesome1128 commented Aug 11, 2023

Why don't you reply?
Don't you have confidence in your code?

@awesome1128
Copy link
Author

Why I get this error? As you know, php artisan migrate command is for adding tables to the database, but this error says that your script is trying to connect to the table before adding tables.
Weird concept!!!
Do you know why?
Thanks.

image

@absalan
Copy link

absalan commented Aug 14, 2023

I have installed on Laravel 10 and it loads everything. You just need to do some manual work. For example, create the setting table manually. You can use this:

CREATE TABLE `pagebuilder_settings` (
  `id` int(11) NOT NULL,
  `setting` varchar(50) NOT NULL,
  `value` mediumtext NOT NULL,
  `is_array` tinyint(1) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

ALTER TABLE `pagebuilder_settings`
  ADD PRIMARY KEY (`id`);

ALTER TABLE `pagebuilder_settings`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

Also you don't need to intimidate the developer to respond to your comment. he might be busy and he has his own life to take care of. Just be patient and have some respect.

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

2 participants