Skip to content

[FIX] Upgrade command missmatch #11348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 2, 2025
Merged

Conversation

prastoin
Copy link
Contributor

@prastoin prastoin commented Apr 2, 2025

Introduction

As we deploy patch from the main branch we've ship the upgrade for the 0.51 within the 0.50.
We should only do that when about to release

We should find a way for this not to occur again

@prastoin prastoin marked this pull request as ready for review April 2, 2025 11:53
@prastoin prastoin requested a review from Weiko April 2, 2025 11:54
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR reverts the accidental inclusion of the 0.51 upgrade command in favor of the proper 0.50 command set, aligning the upgrade process with the intended release schedule.

• Modified /packages/twenty-server/src/database/commands/upgrade-version-command/upgrade.command.ts to swap _commands_051 for commands_050.
• Prevents premature execution of 0.51 migration logic by ensuring only the empty 0.50 commands run.

1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

beforeSyncMetadata: [this.upgradeCreatedByEnumCommand],
afterSyncMetadata: [],
};

this.commands = commands_051;
this.commands = commands_050;
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: Assignment updated to use commands_050, removing execution of the 0.51 command. Verify expected upgrade behavior.

@prastoin prastoin enabled auto-merge (squash) April 2, 2025 11:54
@prastoin prastoin merged commit 76bbffc into main Apr 2, 2025
32 checks passed
@prastoin prastoin deleted the revert-upgrade-command-missmatch branch April 2, 2025 11:58
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.

2 participants