{"action":"created","issue":{"url":"https://api.github.com/repos/novosga/novosga/issues/269","labels_url":"https://api.github.com/repos/novosga/novosga/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/novosga/novosga/issues/269/comments","events_url":"https://api.github.com/repos/novosga/novosga/issues/269/events","html_url":"https://github.com/novosga/novosga/issues/269","id":124779957,"number":269,"title":"atendimentos table auto-number reset","user":{"login":"charlyR","id":3408412,"avatar_url":"https://avatars.githubusercontent.com/u/3408412?v=3","gravatar_id":"","url":"https://api.github.com/users/charlyR","html_url":"https://github.com/charlyR","followers_url":"https://api.github.com/users/charlyR/followers","following_url":"https://api.github.com/users/charlyR/following{/other_user}","gists_url":"https://api.github.com/users/charlyR/gists{/gist_id}","starred_url":"https://api.github.com/users/charlyR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlyR/subscriptions","organizations_url":"https://api.github.com/users/charlyR/orgs","repos_url":"https://api.github.com/users/charlyR/repos","events_url":"https://api.github.com/users/charlyR/events{/privacy}","received_events_url":"https://api.github.com/users/charlyR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-04T15:35:36Z","updated_at":"2016-01-04T16:07:25Z","closed_at":null,"body":"Sometimes the table auto-numbering resets to 1, and get a confict with the historico tables.\r\nChange the algoritm to reset numbering every day to prevent this failure."},"comment":{"url":"https://api.github.com/repos/novosga/novosga/issues/comments/168718560","html_url":"https://github.com/novosga/novosga/issues/269#issuecomment-168718560","issue_url":"https://api.github.com/repos/novosga/novosga/issues/269","id":168718560,"user":{"login":"rogeriolino","id":1065082,"avatar_url":"https://avatars.githubusercontent.com/u/1065082?v=3","gravatar_id":"","url":"https://api.github.com/users/rogeriolino","html_url":"https://github.com/rogeriolino","followers_url":"https://api.github.com/users/rogeriolino/followers","following_url":"https://api.github.com/users/rogeriolino/following{/other_user}","gists_url":"https://api.github.com/users/rogeriolino/gists{/gist_id}","starred_url":"https://api.github.com/users/rogeriolino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogeriolino/subscriptions","organizations_url":"https://api.github.com/users/rogeriolino/orgs","repos_url":"https://api.github.com/users/rogeriolino/repos","events_url":"https://api.github.com/users/rogeriolino/events{/privacy}","received_events_url":"https://api.github.com/users/rogeriolino/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T16:07:25Z","updated_at":"2016-01-04T16:07:25Z","body":"This is explained in the issue #155. When using MySQL and InnoDB the sequential column is reseted when MySQL server restart/reboot.\r\n\r\nTry changing the engine to MyISAM."}}