{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/3759","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/3759/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/3759/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/3759/events","html_url":"https://github.com/sequelize/sequelize/issues/3759","id":78361089,"number":3759,"title":"How to manually set updatedAt?","user":{"login":"stephenjwatkins","id":752942,"avatar_url":"https://avatars.githubusercontent.com/u/752942?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenjwatkins","html_url":"https://github.com/stephenjwatkins","followers_url":"https://api.github.com/users/stephenjwatkins/followers","following_url":"https://api.github.com/users/stephenjwatkins/following{/other_user}","gists_url":"https://api.github.com/users/stephenjwatkins/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenjwatkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenjwatkins/subscriptions","organizations_url":"https://api.github.com/users/stephenjwatkins/orgs","repos_url":"https://api.github.com/users/stephenjwatkins/repos","events_url":"https://api.github.com/users/stephenjwatkins/events{/privacy}","received_events_url":"https://api.github.com/users/stephenjwatkins/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sequelize/sequelize/labels/feature","name":"feature","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-20T04:10:21Z","updated_at":"2015-10-28T14:23:08Z","closed_at":null,"body":"I'm working on some tests and I need to manually set the `updatedAt` attribute. However, it always gets updated to the current date. For example, the following code does not override the `updatedAt` attribute, as I expected it to:\r\n\r\n    instance.updateAttributes({\r\n      updatedAt: moment.utc().subtract(31, 'minutes').toDate()\r\n    }, {\r\n      silent: true\r\n    });\r\n\r\nAm I missing something related to the proper use of `silent`?\r\n\r\nI'm running on v2.1.3.\r\n"},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/comments/151860314","html_url":"https://github.com/sequelize/sequelize/issues/3759#issuecomment-151860314","issue_url":"https://api.github.com/repos/sequelize/sequelize/issues/3759","id":151860314,"user":{"login":"ssteffl","id":7218524,"avatar_url":"https://avatars.githubusercontent.com/u/7218524?v=3","gravatar_id":"","url":"https://api.github.com/users/ssteffl","html_url":"https://github.com/ssteffl","followers_url":"https://api.github.com/users/ssteffl/followers","following_url":"https://api.github.com/users/ssteffl/following{/other_user}","gists_url":"https://api.github.com/users/ssteffl/gists{/gist_id}","starred_url":"https://api.github.com/users/ssteffl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssteffl/subscriptions","organizations_url":"https://api.github.com/users/ssteffl/orgs","repos_url":"https://api.github.com/users/ssteffl/repos","events_url":"https://api.github.com/users/ssteffl/events{/privacy}","received_events_url":"https://api.github.com/users/ssteffl/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T14:23:08Z","updated_at":"2015-10-28T14:23:08Z","body":"i wish there was a \"force\" flag for .save() on an instance, that just set the updatedAt flag even if nothing was changed. Im trying to use updatedAt field as a timestamp of the last time a record was known to be valid, since i'm syncing stuff in my db with a 3rd party's db. That way I can purge items from my db that are stale. \r\n\r\ni dont want to create a new column for this if i could just get the same functionality out of the updatedAt field"}}