{"action":"opened","issue":{"url":"https://api.github.com/repos/maxtepkeev/architect/issues/25","labels_url":"https://api.github.com/repos/maxtepkeev/architect/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/maxtepkeev/architect/issues/25/comments","events_url":"https://api.github.com/repos/maxtepkeev/architect/issues/25/events","html_url":"https://github.com/maxtepkeev/architect/issues/25","id":122446093,"number":25,"title":"Support for Table partitions with FKs","user":{"login":"LordNoteworthy","id":5129564,"avatar_url":"https://avatars.githubusercontent.com/u/5129564?v=3","gravatar_id":"","url":"https://api.github.com/users/LordNoteworthy","html_url":"https://github.com/LordNoteworthy","followers_url":"https://api.github.com/users/LordNoteworthy/followers","following_url":"https://api.github.com/users/LordNoteworthy/following{/other_user}","gists_url":"https://api.github.com/users/LordNoteworthy/gists{/gist_id}","starred_url":"https://api.github.com/users/LordNoteworthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordNoteworthy/subscriptions","organizations_url":"https://api.github.com/users/LordNoteworthy/orgs","repos_url":"https://api.github.com/users/LordNoteworthy/repos","events_url":"https://api.github.com/users/LordNoteworthy/events{/privacy}","received_events_url":"https://api.github.com/users/LordNoteworthy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-16T07:32:30Z","updated_at":"2015-12-16T07:32:30Z","closed_at":null,"body":"Hello,\r\n\r\nI think many of us run into the situation when the primary key of the table which is partitioned is referenced somehow in another table and it would be great if architect could detect this and creates shadow table which will keep track of FKs as show here:\r\n\r\nhttps://postgresinfo.wordpress.com/2012/05/29/table-partition-with-foreign-keys/\r\n\r\nThank you so much."}}