Open kapilsharma opened 7 years ago
Technical details
We need to write new seeder. An example can be taken from CategoryTableSeeder
Article to be added in Lumen category, depends on this issue.
https://code.tutsplus.com/tutorials/how-to-secure-a-rest-api-with-lumen--cms-27442
@kapilsharma i would like to take this issue !
Can i update the existing CategoryTableSeeder
?
Sure,
No, please do not update existing seeder, create a new one. Existing seeder is already executed on live (phpreboot.com) so we can't execute it again.
I'm adding you as team member so you can be officially be assigned to any issue.
Being a member, you will be able to push on any branch except master. However we follow forking workflow and no one directly push to main repo (It might impact other developers). We always create pull request on development
branch for features.
Yeah sure, i will follow the workflow that you already are following.Thanks for the details. Is there any naming convention that you would like to follow for the new seeder?
October16NewCategoryTableSeeder
might be good name. It will help us identify when we added new categories.
Descriptions:
@aabi01 you can check https://waffle.io/phpreboot/website for better view of issues. Also if you login to waffle.io through github, you can move, update and comment from there only.
Above label changed automatically as I moved issue from backlog to assigned.
Production issue
php artisan db:seed
**************************************
* Application In Production! *
**************************************
Do you really wish to run this command? (yes/no) [no]:
> yes
Seeded: CategoryTableSeeder
[ReflectionException]
Class October16NewCategoryTableSeeder does not exist
@aabi01 can you please check issue urgently.
Yeah sure, i will look into it !
Currently, we have following categories in PHP Reboot magazine.
We need following new categories:
Basics
, notPHP-Basiccs
.