Skip to content

Load package migrations automatically - #2

Merged
CrazyBoy49z merged 1 commit into
mainfrom
fix/load-package-migrations
Sep 25, 2026
Merged

CrazyBoy49z merged 1 commit into
mainfrom
fix/load-package-migrations

Conversation

@CrazyBoy49z

Copy link
Copy Markdown
Member

Fixes lazy-page migrations not being registered by normal php artisan migrate.

  • adds ->runsMigrations() to the package configuration
  • adds a regression test that drops the package tables and verifies migrate:fresh recreates them

This fixes consumers failing with Table lazy_pages doesn't exist after installing the package.

@CrazyBoy49z
CrazyBoy49z merged commit 9ffa93b into main Sep 25, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant