{"action":"opened","issue":{"url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/820","repository_url":"https://api.github.com/repos/pgmodeler/pgmodeler","labels_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/820/labels{/name}","comments_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/820/comments","events_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/820/events","html_url":"https://github.com/pgmodeler/pgmodeler/issues/820","id":145173286,"number":820,"title":"Multiple inheritance exports to sql source in wrong order","user":{"login":"Jakob-Lanstorp","id":8887576,"avatar_url":"https://avatars.githubusercontent.com/u/8887576?v=3","gravatar_id":"","url":"https://api.github.com/users/Jakob-Lanstorp","html_url":"https://github.com/Jakob-Lanstorp","followers_url":"https://api.github.com/users/Jakob-Lanstorp/followers","following_url":"https://api.github.com/users/Jakob-Lanstorp/following{/other_user}","gists_url":"https://api.github.com/users/Jakob-Lanstorp/gists{/gist_id}","starred_url":"https://api.github.com/users/Jakob-Lanstorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jakob-Lanstorp/subscriptions","organizations_url":"https://api.github.com/users/Jakob-Lanstorp/orgs","repos_url":"https://api.github.com/users/Jakob-Lanstorp/repos","events_url":"https://api.github.com/users/Jakob-Lanstorp/events{/privacy}","received_events_url":"https://api.github.com/users/Jakob-Lanstorp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-01T12:50:32Z","updated_at":"2016-04-01T12:50:32Z","closed_at":null,"body":"The create sql of parent tables needs to be in top of script. Else the create of the child tables fails not knowing their parents. It seems that the order of create table statements of the exported script is the same as the order they where made in the model."}}