Skip to content

Fix temporal migrations for models on non-default database connections#257

Merged
techmahedy merged 1 commit intodoppar:3.xfrom
techmahedy:techmahedy-3.x
Apr 25, 2026
Merged

Fix temporal migrations for models on non-default database connections#257
techmahedy merged 1 commit intodoppar:3.xfrom
techmahedy:techmahedy-3.x

Conversation

@techmahedy
Copy link
Copy Markdown
Member

Updates migrate:temporal to resolve the target database per temporal model instead of reusing one global connection for the whole command. Preserves --connection as an explicit override, while default behavior now honors each model’s configured $connection.

Adds regression coverage for model-based connection resolution so temporal history tables are created on the correct database.

@techmahedy techmahedy merged commit 102d71e into doppar:3.x Apr 25, 2026
27 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