{"action":"created","issue":{"url":"https://api.github.com/repos/baopham/laravel-dynamodb/issues/11","repository_url":"https://api.github.com/repos/baopham/laravel-dynamodb","labels_url":"https://api.github.com/repos/baopham/laravel-dynamodb/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/baopham/laravel-dynamodb/issues/11/comments","events_url":"https://api.github.com/repos/baopham/laravel-dynamodb/issues/11/events","html_url":"https://github.com/baopham/laravel-dynamodb/pull/11","id":137417345,"number":11,"title":"Timestamps and optimistic locking","user":{"login":"wzedi","id":3412440,"avatar_url":"https://avatars.githubusercontent.com/u/3412440?v=3","gravatar_id":"","url":"https://api.github.com/users/wzedi","html_url":"https://github.com/wzedi","followers_url":"https://api.github.com/users/wzedi/followers","following_url":"https://api.github.com/users/wzedi/following{/other_user}","gists_url":"https://api.github.com/users/wzedi/gists{/gist_id}","starred_url":"https://api.github.com/users/wzedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzedi/subscriptions","organizations_url":"https://api.github.com/users/wzedi/orgs","repos_url":"https://api.github.com/users/wzedi/repos","events_url":"https://api.github.com/users/wzedi/events{/privacy}","received_events_url":"https://api.github.com/users/wzedi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-29T23:53:40Z","updated_at":"2016-05-06T05:38:39Z","closed_at":"2016-05-06T05:38:39Z","pull_request":{"url":"https://api.github.com/repos/baopham/laravel-dynamodb/pulls/11","html_url":"https://github.com/baopham/laravel-dynamodb/pull/11","diff_url":"https://github.com/baopham/laravel-dynamodb/pull/11.diff","patch_url":"https://github.com/baopham/laravel-dynamodb/pull/11.patch"},"body":"Added support for created_at and updated_at timestamps.\r\n\r\nAlso added optimistic locking according to the scheme described at http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBMapper.OptimisticLocking.html. Basically added a version number attribute which is used in a conditional update.\r\n\r\nUpdated readme and tests\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.svg\" height=\"40\" alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/baopham/laravel-dynamodb/11)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/baopham/laravel-dynamodb/issues/comments/217352129","html_url":"https://github.com/baopham/laravel-dynamodb/pull/11#issuecomment-217352129","issue_url":"https://api.github.com/repos/baopham/laravel-dynamodb/issues/11","id":217352129,"user":{"login":"baopham","id":783410,"avatar_url":"https://avatars.githubusercontent.com/u/783410?v=3","gravatar_id":"","url":"https://api.github.com/users/baopham","html_url":"https://github.com/baopham","followers_url":"https://api.github.com/users/baopham/followers","following_url":"https://api.github.com/users/baopham/following{/other_user}","gists_url":"https://api.github.com/users/baopham/gists{/gist_id}","starred_url":"https://api.github.com/users/baopham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baopham/subscriptions","organizations_url":"https://api.github.com/users/baopham/orgs","repos_url":"https://api.github.com/users/baopham/repos","events_url":"https://api.github.com/users/baopham/events{/privacy}","received_events_url":"https://api.github.com/users/baopham/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T05:38:39Z","updated_at":"2016-05-06T05:38:39Z","body":"Close this for now since there has been changes in `master` but would love this to be included as a new feature."}}