-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
refactor: migrate promotion module #10410
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
5 Skipped Deployments
|
🦋 Changeset detectedLatest commit: fdc11a8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 65 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
...es/modules/promotion/integration-tests/__tests__/services/promotion-module/promotion.spec.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
...es/modules/promotion/integration-tests/__tests__/services/promotion-module/promotion.spec.ts
Show resolved
Hide resolved
packages/modules/promotion/src/migrations/Migration20241203074045.ts
Outdated
Show resolved
Hide resolved
packages/modules/promotion/src/migrations/Migration20241203074045.ts
Outdated
Show resolved
Hide resolved
@@ -16,6 +16,7 @@ export function applyIndexes( | |||
) { | |||
field.indexes.forEach((index) => { | |||
const providerEntityIdIndexStatement = createPsqlIndexStatementHelper({ | |||
name: index.name, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@olivermrbl Because of this, the migration was dropping an existing index and was re-creating it with a different name
FIXES: FRMW-2822
No breaking changes in this PR. However, migrations should be applied