{"action":"created","issue":{"url":"https://api.github.com/repos/igorizr1/wSQL/issues/8","labels_url":"https://api.github.com/repos/igorizr1/wSQL/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/igorizr1/wSQL/issues/8/comments","events_url":"https://api.github.com/repos/igorizr1/wSQL/issues/8/events","html_url":"https://github.com/igorizr1/wSQL/issues/8","id":123279120,"number":8,"title":"database upgrade?","user":{"login":"ansorg","id":3541784,"avatar_url":"https://avatars.githubusercontent.com/u/3541784?v=3","gravatar_id":"","url":"https://api.github.com/users/ansorg","html_url":"https://github.com/ansorg","followers_url":"https://api.github.com/users/ansorg/followers","following_url":"https://api.github.com/users/ansorg/following{/other_user}","gists_url":"https://api.github.com/users/ansorg/gists{/gist_id}","starred_url":"https://api.github.com/users/ansorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansorg/subscriptions","organizations_url":"https://api.github.com/users/ansorg/orgs","repos_url":"https://api.github.com/users/ansorg/repos","events_url":"https://api.github.com/users/ansorg/events{/privacy}","received_events_url":"https://api.github.com/users/ansorg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-21T13:24:43Z","updated_at":"2016-01-06T10:05:38Z","closed_at":null,"body":"have there been any considerations to implement a database upgrade? \r\n\r\nI tried my luck on this but found no good place where to put the upgrade code. The async nature of the \"create\" code seems to make it impossible to have in a reliable way?"},"comment":{"url":"https://api.github.com/repos/igorizr1/wSQL/issues/comments/169282525","html_url":"https://github.com/igorizr1/wSQL/issues/8#issuecomment-169282525","issue_url":"https://api.github.com/repos/igorizr1/wSQL/issues/8","id":169282525,"user":{"login":"igorizr1","id":3543307,"avatar_url":"https://avatars.githubusercontent.com/u/3543307?v=3","gravatar_id":"","url":"https://api.github.com/users/igorizr1","html_url":"https://github.com/igorizr1","followers_url":"https://api.github.com/users/igorizr1/followers","following_url":"https://api.github.com/users/igorizr1/following{/other_user}","gists_url":"https://api.github.com/users/igorizr1/gists{/gist_id}","starred_url":"https://api.github.com/users/igorizr1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorizr1/subscriptions","organizations_url":"https://api.github.com/users/igorizr1/orgs","repos_url":"https://api.github.com/users/igorizr1/repos","events_url":"https://api.github.com/users/igorizr1/events{/privacy}","received_events_url":"https://api.github.com/users/igorizr1/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T10:05:38Z","updated_at":"2016-01-06T10:05:38Z","body":"Library do not have this feature out of the box right now.\r\nYou may run queries you need after application start. But I'm not sure this is something u need. And this will not work smooth.\r\nOr probably u may hardcode function which will check the application version on start. And in case of migration is required select all data. Drop db and create new structure and insert migrated data.\r\n\r\nSomething like that. But migrations are not supported yet. Sorry"}}