You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deletedAt should be compare against NOW rather than IS NULL #5880
Under current implementation sequelize always compare deletedAt field with IS NULL, while it works but it just act as a boolean field.
It should ideally compare deletedAt against current timestamp value like NOW. This will make deletedAt semantically correct because its a date field.
This will also allow instances to be deleted on future dates. Some features can be implemented easily which requires expiration after some time like session, tickets, oauth tokens etc...
Activity
janmeier commentedon May 13, 2016
Sounds good :)
Fix #5880, deletedAt compare against NOW (#5897)
Fix for sequelize#7204 part 1 (see also sequelize#5880 & sequelize#5897)
Fix for sequelize#7204 part 2 (see also sequelize#5880 & sequelize#5897)
Fix for sequelize#7204 part 1 (see also sequelize#5880 & sequelize#5897)
Fix for sequelize#7204 part 2 (see also sequelize#5880 & sequelize#5897)