Closed marc31 closed 6 months ago
please try to publish the config as below: php artisan vendor:publish --tag=world --force
I already fix my issue by adding manually to config/world.php
'connection' => env('WORLD_DB_CONNECTION', env('DB_CONNECTION'))
The only think I want is to add some document some where for other people who upgrade. As a side note maybe is not a minor version change because user need to update their config file if they run composer update.
Indeed if I run php artisan vendor:publish --tag=world --force that fix my but it also override all my conf.
@marc31 Hi Marc, please feel free to update the Readme file if you would like to contribute. You can add a section titled Upgrading to v1.1.30? then add your comments so others can avoid having similar issues.
@marc31 I thank you for your contribution. appreciated
First, things for your greet module.
After minor updating from 1.1.29 to 1.1.30, when I am seeding my db I had an error.
In WorldConnection.php line 14:
Nnjeim\World\Models\Country::getConnectionName(): Return value must be of type string, null returned
It's because I need to add into config/world.php
Can you add it to the changelog.md or make un upgrade.md file to add this kind of change needed after update.
Exemple of file :
Changelog Version 1.1.30 Added
Upgrade Guide Upgrading from 1.1.29 to 1.1.30 Configuration Changes
After upgrading from version 1.1.29 to 1.1.30, you'll need to make the following configuration change:
Open the config/world.php file.
Add or update the following configuration: