Skip to content

Fix #5880, deletedAt compare against NOW - #5897

Merged
janmeier merged 4 commits into
sequelize:masterfrom
sushantdhiman:fix-5880
May 17, 2016
Merged

janmeier merged 4 commits into
sequelize:masterfrom
sushantdhiman:fix-5880

Conversation

@sushantdhiman

@sushantdhiman sushantdhiman commented May 16, 2016 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Member

Sweet! :)

@janmeier

Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants