{"action":"created","issue":{"url":"https://api.github.com/repos/jekkos/opensourcepos/issues/258","labels_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/258/comments","events_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/258/events","html_url":"https://github.com/jekkos/opensourcepos/issues/258","id":124333660,"number":258,"title":"Migrate from old version phppos to ospos","user":{"login":"lutfiajib","id":16447833,"avatar_url":"https://avatars.githubusercontent.com/u/16447833?v=3","gravatar_id":"","url":"https://api.github.com/users/lutfiajib","html_url":"https://github.com/lutfiajib","followers_url":"https://api.github.com/users/lutfiajib/followers","following_url":"https://api.github.com/users/lutfiajib/following{/other_user}","gists_url":"https://api.github.com/users/lutfiajib/gists{/gist_id}","starred_url":"https://api.github.com/users/lutfiajib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutfiajib/subscriptions","organizations_url":"https://api.github.com/users/lutfiajib/orgs","repos_url":"https://api.github.com/users/lutfiajib/repos","events_url":"https://api.github.com/users/lutfiajib/events{/privacy}","received_events_url":"https://api.github.com/users/lutfiajib/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jekkos/opensourcepos/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-12-30T11:02:08Z","updated_at":"2016-01-05T10:03:08Z","closed_at":null,"body":"I have phppos 11.3 installed\r\nHow to migrate to current version?\r\nI dont have any SQL file prior 2.2.1\r\nAnyone can help me?"},"comment":{"url":"https://api.github.com/repos/jekkos/opensourcepos/issues/comments/168958720","html_url":"https://github.com/jekkos/opensourcepos/issues/258#issuecomment-168958720","issue_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/258","id":168958720,"user":{"login":"jekkos","id":576234,"avatar_url":"https://avatars.githubusercontent.com/u/576234?v=3","gravatar_id":"","url":"https://api.github.com/users/jekkos","html_url":"https://github.com/jekkos","followers_url":"https://api.github.com/users/jekkos/followers","following_url":"https://api.github.com/users/jekkos/following{/other_user}","gists_url":"https://api.github.com/users/jekkos/gists{/gist_id}","starred_url":"https://api.github.com/users/jekkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekkos/subscriptions","organizations_url":"https://api.github.com/users/jekkos/orgs","repos_url":"https://api.github.com/users/jekkos/repos","events_url":"https://api.github.com/users/jekkos/events{/privacy}","received_events_url":"https://api.github.com/users/jekkos/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T10:03:08Z","updated_at":"2016-01-05T10:03:08Z","body":"With the new split up the constraints are applied after copying the data. The original init script first inits the tables and then applies the constraints. This changes makes the sql more modular and reusable.\r\n\r\nIf there's something wrong in the data you will always face errors once you enable or apply the constraints, so  in this case it doesn't matter whether you disable or just add them afterwards"}}