Skip to content

fix: skip migration publish on re-run of messenger:install - #2

Merged
nettsite merged 1 commit into
mainfrom
fix/install-command-migration-republish
Apr 16, 2026
Merged

fix: skip migration publish on re-run of messenger:install#2
nettsite merged 1 commit into
mainfrom
fix/install-command-migration-republish

Conversation

@nettsite

Copy link
Copy Markdown
Owner

Summary

  • Guards publishMigrations() against re-publishing when messenger migrations already exist in database/migrations/
  • Prevents SQLSTATE[42S01]: Base table or view already exists errors when messenger:install is run more than once
  • Bumps version to 1.3.8

Test plan

  • Fresh install: messenger:install publishes migrations and runs them successfully
  • Re-run messenger:install: skips migration publish, no duplicate table errors

🤖 Generated with Claude Code

Guard against re-publishing messenger migrations when they already exist
in database/migrations/ — prevents "table already exists" errors on
subsequent installs. Also bumps version to 1.3.8.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nettsite
nettsite merged commit 24b9165 into main Apr 16, 2026
1 of 34 checks passed
@nettsite
nettsite deleted the fix/install-command-migration-republish branch April 16, 2026 10:22
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