(mysql): remove out-of-order wavoipToken migration by pauloboc · Pull Request #1664 · EvolutionAPI/evolution-api · GitHub
Skip to content

(mysql): remove out-of-order wavoipToken migration#1664

Merged
DavidsonGomes merged 1 commit intoEvolutionAPI:developfrom
pauloboc:fix-setup-mysql
Jul 1, 2025
Merged

(mysql): remove out-of-order wavoipToken migration#1664
DavidsonGomes merged 1 commit intoEvolutionAPI:developfrom
pauloboc:fix-setup-mysql

Conversation

@pauloboc
Copy link
Copy Markdown
Contributor

@pauloboc pauloboc commented Jun 28, 2025

Delete prisma/mysql-migrations/1707735894523_add_wavoip_token_to_settings_table, which executes before the initial Setting table is created and breaks fresh MySQL installs.

The later migration 20250214181954_add_wavoip_token_column, line 145, already adds the column correctly, so keeping only that directory guarantees a clean deploy.

Summary by Sourcery

Remove the out-of-order wavoipToken migration to prevent fresh MySQL installs from breaking and rely solely on the correct later migration for a clean deployment.

Bug Fixes:

  • Delete the obsolete 1707735894523_add_wavoip_token_to_settings_table migration that ran before the Settings table existed and caused fresh install failures.

Chores:

  • Remove the unused prisma/mysql-migrations/1707735894523_add_wavoip_token_to_settings_table directory

Delete prisma/mysql-migrations/1707735894523_add_wavoip_token_to_settings_table, which executes before the initial Setting table is created and breaks fresh MySQL installs.

The later migration 20250214181954_add_wavoip_token_column, line 145, already adds the column correctly, so keeping only that directory guarantees a clean deploy.
@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Jun 28, 2025

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @pauloboc - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@DavidsonGomes DavidsonGomes changed the base branch from main to develop July 1, 2025 11:14
@DavidsonGomes DavidsonGomes merged commit 53101d4 into EvolutionAPI:develop Jul 1, 2025
1 check passed
@pauloboc pauloboc deleted the fix-setup-mysql branch July 2, 2025 20:21
@augustresende
Copy link
Copy Markdown

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.

3 participants