vendredi 1 janvier 2016

Cant run a migration when deploying. Laravel 5.2

Consider the following task for envoy:

@task('deploy', ['on' => 'web'])
    cd personal_site
    php artisan down
    git pull origin master
    composer install
    php artisan migrate
    php artisan up
@endtask

php artisan migrate // Blows up

The error is:

[user@xxxx]: **************************************
*     Application In Production!     *
**************************************
[user@xxxx]: Command Cancelled!
[user@xxxx]: Application is now live.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1kyVOW7
via IFTTT

Aucun commentaire:

Enregistrer un commentaire