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 #5880, deletedAt compare against NOW #5897

Merged
merged 4 commits into from May 17, 2016
Merged

Fix #5880, deletedAt compare against NOW #5897

merged 4 commits into from May 17, 2016

Conversation

sushantdhiman
Copy link
Contributor

@sushantdhiman sushantdhiman commented May 16, 2016

Pull Request check-list

  • Does npm run test or npm run test-DIALECT pass with this change (including linting)?
  • Does your issue contain a link to existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Have you added new tests to prevent regressions?
  • Have you added an entry under Future in the changelog?

Description of change

Closes #5880 , deletedAt field is compared against CURRENT_TIMESTAMP rather than IS NULL. It also check for IS NULL in case deletedAt is not set at all.

@sushantdhiman
Copy link
Contributor Author

Hi @mickhansen @janmeier, Please have a look when you get chance. CI is clear except of one timeout error.

@sushantdhiman sushantdhiman reopened this May 17, 2016
@janmeier janmeier merged commit 02fb3fa into sequelize:master May 17, 2016
@janmeier
Copy link
Member

Sweet! :)

@janmeier
Copy link
Member

Notice that this PR is on the 4.0 branch - You are welcome to make a PR to v3 as well, then I'll publish a new version

@sushantdhiman
Copy link
Contributor Author

I am currently using my sequelize fork in my projects so I can wait till 4.0 is release.

If any one else need this update in current semversion let me know and I will push it to v3 as well.

@sushantdhiman sushantdhiman deleted the fix-5880 branch May 28, 2016 18:42
@sushantdhiman sushantdhiman restored the fix-5880 branch May 28, 2016 18:42
Wsiegenthaler added a commit to Wsiegenthaler/sequelize that referenced this pull request Feb 25, 2017
Wsiegenthaler added a commit to Wsiegenthaler/sequelize that referenced this pull request Feb 25, 2017
Wsiegenthaler added a commit to Wsiegenthaler/sequelize that referenced this pull request Feb 25, 2017
Wsiegenthaler added a commit to Wsiegenthaler/sequelize that referenced this pull request Feb 25, 2017
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.

None yet

2 participants