Skip to content

v1.2.2

Choose a tag to compare

@mahmoudmohamedramadan mahmoudmohamedramadan released this 05 Jun 22:44
· 3 commits to 1.x since this release

Added

  • Add $database to the RefreshingDatabase, TablesDropped, and DatabaseRefreshed lifecycle events, and update their constructor argument order accordingly.
  • The --explain output now displays both the active connection name and database name, making it easier to verify the exact database context before running the command.

Fixed

  • Resolve the booted connection and database name from --database, pass the database name to Schema::getTables() and the underlying migrate call, print both in --explain output, and dispatch lifecycle events with the resolved values so table discovery, drops, and migrations target the correct database.

Full Changelog: v1.2.1...v1.2.2