You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I executed the command php artisan vendor:publish --tag=world I got this message
Copied File [/vendor/nnjeim/world/config/world.php] To [/config/world.php]
Copied File [/vendor/nnjeim/world/src/Database/Seeders/WorldSeeder.php] To [/database/seeders/WorldSeeder.php]
Copied Directory [/vendor/nnjeim/world/resources/lang] To [/resources/lang/vendor/world]
Publishing complete.
As you can see, no migration files have been published. I don't know if it's a bug or do you store the data in a json file or do they generate when you execute the seed file, can you please explain? because what I found in the readme is that there are tables, but I can't find any when publishing the files.
Expected behavior
publishing the migration files?
Screenshots
Thank you 😄
The text was updated successfully, but these errors were encountered:
@ahmadyousefdev hi Ahmed, as you clearly mentioned the migrations are never published but only called when you run php artisan db:seed in the console. please look at Nnjeim\World\WorldServiceProvider.
The installation of the package starts by running php artisan migrate.
The seeding is calling the data from the json files.
The lang files, the config file (world.php) and the WorldSeeder are only published.
At this stage i don't see a reason why would we publish the migrations if they are called only once.
In the upcoming release we will consider a dynamic migrations structure where the user can choose which fields he wants to include from the the json source.
Describe the bug
When I executed the command
php artisan vendor:publish --tag=world
I got this messageAs you can see, no migration files have been published. I don't know if it's a bug or do you store the data in a json file or do they generate when you execute the seed file, can you please explain? because what I found in the readme is that there are tables, but I can't find any when publishing the files.
Expected behavior
publishing the migration files?
Screenshots
![Screen Shot 2022-03-05 at 13 33 35](https://user-images.githubusercontent.com/19305025/156879676-05b91c9a-41e2-40ad-8418-7a7130d09703.png)
Thank you 😄
The text was updated successfully, but these errors were encountered: