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
fix DB connection issue on composer install #4
fix DB connection issue on composer install #4
Conversation
@nishalgurung4 Thanks for the pull request. I will have to stale this for now as the code was intentional to check if
|
Hello, and thank you for your response. Yes, this is the new Laravel 8 installation. Configuring the database connection before installing the package solved the problem in the local setup. Because Schema::hasTable() is used in the ServiceProvider, the package always requires a database connection. However, the problem for me is with the github workflow. I used the following configuration and attempted to set up the database as follows.
Unfortunately, this isn't working. You can look into the error trace here. |
@nishalgurung4 thanks for testing it out. I have just pushed a fix in the dev branch. Can you please uninstall the current version of the package and install the dev one with |
@rahulhaque Thank you, it's working now. The log can be found here |
@nishalgurung4 thanks a lot for the heads up. I will release new version with the fix. Update as soon as I release. And also thanks for the pull request. I would merge it if not for the changes in my action workflow. So cheers. Be sure to close the issue after updating to the latest version. Happy coding. |
There was an issue with the database connection while installing the package.
In this workflow configuration, it also throws a DB exception
I've set up a test repo with the github workflows installed. Please check the outcome of workflows form here.
.