I am following the laravel tutorial guide for the creation of migrations. In the guide, it says to use a terminal command like the following: php artisan migrate:make create_users_table. This creates a migration file in the app/database/migration folder
I have pushed my laravel installation to a web server. To make new migrations, do I need to make them locally and then push them to the appropriate folder on the web server, or is there another way to access the php artisan commands?
Note: My web server does not provide shell access.
Since you don't have the shell access in your webserver, you can run the migration query in your local machine and then export the sql query to your webhost. Alternatively, you can also try this out -- http://bundles.laravel.com/bundle/artisan
Thanks. That link seems to be for an earlier version of laravel, since it is referring to bundles. I am on laravel 4. Do you know if it is still possible to expose artisan to the web for laravel 4?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community