Skip to content

Instantly share code, notes, and snippets.

@thehelvetian
Forked from li0nel/migrations.sh
Created January 1, 2019 06:00
Show Gist options
  • Select an option

  • Save thehelvetian/6f07cd83acfaa74224de722791a4a78b to your computer and use it in GitHub Desktop.

Select an option

Save thehelvetian/6f07cd83acfaa74224de722791a4a78b to your computer and use it in GitHub Desktop.
Run Laravel migrations
# Use the Docker exec command to execute the Artisan commands inside the application container
docker exec -it CONTAINER_ID php artisan session:table
docker exec -it CONTAINER_ID php artisan migrate --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment