I use Windows 8
to develop the application but I didn't install the web server or mySql
server on it. What I do is use the github to store the code and git pull
it on the actual server.
Whenever I run php artisan make:model
on windows 8, I notice it will create a model file and a migration file automatically. Later I push it to github and pull it on the production server and run php artisan migrate
, it went smoothly without any error. But when I try to roll it back, the production server will produce the error saying it couldn't find the class.
Do you think my flow of work is correct when I push and pull it from github? What is the appropriate flow for this? Do i have to run `php artisan make:model' on the production server first and push it back to github and later pull it back on my local machine?
thanks
Muhaimin