You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pin Schema::create patterns to server MigrationAdoption regex
Adds testPackageMigrationCreateTablesAreDetectableByServerAdoptionPatterns
to tests/Unit/migrations/MigrationsTest.php. The test mirrors the two
regex patterns recognized by the server-side App\Support\MigrationAdoption
::createdTablesIn() — Schema::create('literal', ...) and
Schema::create(self::CONST, ...) with const CONST = 'string'; declared
in the same file — and asserts every package migration's Schema::create()
call resolves to a recognized table name. If a future migration uses a
pattern outside those two (string concatenation, helper call,
parent::CONST, dynamic name from config), the test fails closed so the
server's BLK-S002 partial-bootstrap recovery cannot regress silently.
0 commit comments