Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Laravel Auto Migration will fail on first deployment #489

Copy link
Copy link
Closed
@jaydrogers

Description

@jaydrogers
Issue body actions

Steps To Reproduce

  1. Create a Laravel application
  2. Initialize a fresh database engine
  3. Attempt to run auto-migrations

Like this:

    docker compose run --rm --remove-orphans --no-deps \
    -e "AUTORUN_ENABLED=true" \
    -e "AUTORUN_LARAVEL_CONFIG_CACHE=false" \
    -e "AUTORUN_LARAVEL_EVENT_CACHE=false" \
    -e "AUTORUN_LARAVEL_ROUTE_CACHE=false" \
    -e "AUTORUN_LARAVEL_VIEW_CACHE=false" \
    -e "SHOW_WELCOME_MESSAGE=false" \
    -e "S6_VERBOSITY=0" \
    php \
    true

Outcome

What did you expect?

Migrations should wait until database connection is ready.

What happened instead?

The script exits
image

Affected Docker Images

All

Anything else?

This error is related to this change: 08d1d6e

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.