{"action":"opened","issue":{"url":"https://api.github.com/repos/balderdashy/waterline/issues/1086","labels_url":"https://api.github.com/repos/balderdashy/waterline/issues/1086/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/waterline/issues/1086/comments","events_url":"https://api.github.com/repos/balderdashy/waterline/issues/1086/events","html_url":"https://github.com/balderdashy/waterline/issues/1086","id":94648069,"number":1086,"title":"creation failure will cause the auto increment index to be changed.","user":{"login":"calidion","id":131776,"avatar_url":"https://avatars.githubusercontent.com/u/131776?v=3","gravatar_id":"","url":"https://api.github.com/users/calidion","html_url":"https://github.com/calidion","followers_url":"https://api.github.com/users/calidion/followers","following_url":"https://api.github.com/users/calidion/following{/other_user}","gists_url":"https://api.github.com/users/calidion/gists{/gist_id}","starred_url":"https://api.github.com/users/calidion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calidion/subscriptions","organizations_url":"https://api.github.com/users/calidion/orgs","repos_url":"https://api.github.com/users/calidion/repos","events_url":"https://api.github.com/users/calidion/events{/privacy}","received_events_url":"https://api.github.com/users/calidion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-13T06:16:30Z","updated_at":"2015-07-13T06:16:30Z","closed_at":null,"body":"      User.create({\r\n        username: 'aaa',\r\n        password: '',\r\n        confirm: ''\r\n      })\r\n\r\nif I execute username twice, the creation will fail but the autoincrement index will be changed.\r\n\r\nfor current autoincrement index equals 1,\r\nafter execution success, the index wil be 2.\r\nthan a failure execution will change the index to be 3. \r\nthought there is no new user generated.\r\nand the following new use index will start from 4."}}