{"action":"created","issue":{"url":"https://api.github.com/repos/tananaev/traccar/issues/3441","repository_url":"https://api.github.com/repos/tananaev/traccar","labels_url":"https://api.github.com/repos/tananaev/traccar/issues/3441/labels{/name}","comments_url":"https://api.github.com/repos/tananaev/traccar/issues/3441/comments","events_url":"https://api.github.com/repos/tananaev/traccar/issues/3441/events","html_url":"https://github.com/tananaev/traccar/issues/3441","id":249908541,"number":3441,"title":"DB optimisation column types","user":{"login":"tsmgeek","id":5859988,"avatar_url":"https://avatars2.githubusercontent.com/u/5859988?v=4","gravatar_id":"","url":"https://api.github.com/users/tsmgeek","html_url":"https://github.com/tsmgeek","followers_url":"https://api.github.com/users/tsmgeek/followers","following_url":"https://api.github.com/users/tsmgeek/following{/other_user}","gists_url":"https://api.github.com/users/tsmgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/tsmgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsmgeek/subscriptions","organizations_url":"https://api.github.com/users/tsmgeek/orgs","repos_url":"https://api.github.com/users/tsmgeek/repos","events_url":"https://api.github.com/users/tsmgeek/events{/privacy}","received_events_url":"https://api.github.com/users/tsmgeek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-08-14T00:13:40Z","updated_at":"2017-08-14T11:07:49Z","closed_at":null,"body":"What would be the best way to make DB optimisations that would alter datatypes right back to the first changelog.\r\n\r\nThere is lots of uses of `INT` instead of `INT UNSIGNED` and a few other things\r\n\r\nI am thinking to change all the `createTable` statements in all the changelogs first then create a new changelog that will correct column types if they are not already that type, seems that it may end up being a big change due to foreign key constraints."},"comment":{"url":"https://api.github.com/repos/tananaev/traccar/issues/comments/322163127","html_url":"https://github.com/tananaev/traccar/issues/3441#issuecomment-322163127","issue_url":"https://api.github.com/repos/tananaev/traccar/issues/3441","id":322163127,"user":{"login":"tsmgeek","id":5859988,"avatar_url":"https://avatars2.githubusercontent.com/u/5859988?v=4","gravatar_id":"","url":"https://api.github.com/users/tsmgeek","html_url":"https://github.com/tsmgeek","followers_url":"https://api.github.com/users/tsmgeek/followers","following_url":"https://api.github.com/users/tsmgeek/following{/other_user}","gists_url":"https://api.github.com/users/tsmgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/tsmgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsmgeek/subscriptions","organizations_url":"https://api.github.com/users/tsmgeek/orgs","repos_url":"https://api.github.com/users/tsmgeek/repos","events_url":"https://api.github.com/users/tsmgeek/events{/privacy}","received_events_url":"https://api.github.com/users/tsmgeek/received_events","type":"User","site_admin":false},"created_at":"2017-08-14T11:07:49Z","updated_at":"2017-08-14T11:07:49Z","body":"For a rename it would be done via  `<renameColumn/>` in a new changelog."}}
{"actor":{"display_login":"tsmgeek"}}