Skip to content
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

fix(core): Change dedupe value column type from varchar(255) to text #11357

Conversation

ShireenMissi
Copy link
Contributor

@ShireenMissi ShireenMissi commented Oct 23, 2024

Summary

This PR changes the type of the value column from varchar(255) to text
As sqlite has limited support for changing column, the change is done by adding and dropping columns only

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-1899/deduplication-node-throws-value-too-long-for-type-character

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@ShireenMissi ShireenMissi requested a review from a team as a code owner October 23, 2024 08:49
@ShireenMissi ShireenMissi added release/backport Changes that need to be backported to older releases. tests-needed This PR needs additional tests labels Oct 23, 2024
@ShireenMissi ShireenMissi force-pushed the node-1899-deduplication-node-throws-value-too-long-for-type-character branch from 518c178 to aa65727 Compare October 23, 2024 10:09
@ShireenMissi ShireenMissi force-pushed the node-1899-deduplication-node-throws-value-too-long-for-type-character branch from aa65727 to 04861e9 Compare October 23, 2024 10:17
Copy link
Contributor

@tomi tomi left a comment

Choose a reason for hiding this comment

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

Tested locally on SQLite and both up and down seem to work nicely 🎉

Copy link

cypress bot commented Oct 23, 2024

n8n    Run #7530

Run Properties:  status check passed Passed #7530  •  git commit 1910089c2f: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ShireenMissi 🗃️ e2e/*
Project n8n
Branch Review node-1899-deduplication-node-throws-value-too-long-for-type-character
Run status status check passed Passed #7530
Run duration 04m 20s
Commit git commit 1910089c2f: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ShireenMissi 🗃️ e2e/*
Committer Shireen Missi
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 458
View all changes introduced in this branch ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@ShireenMissi ShireenMissi merged commit 7a71cff into master Oct 23, 2024
38 checks passed
@ShireenMissi ShireenMissi deleted the node-1899-deduplication-node-throws-value-too-long-for-type-character branch October 23, 2024 13:16
This was referenced Oct 24, 2024
@janober
Copy link
Member

janober commented Oct 24, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/backport Changes that need to be backported to older releases. Released tests-needed This PR needs additional tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants