{"action":"created","issue":{"url":"https://api.github.com/repos/tebazil/db-seeder/issues/2","labels_url":"https://api.github.com/repos/tebazil/db-seeder/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/tebazil/db-seeder/issues/2/comments","events_url":"https://api.github.com/repos/tebazil/db-seeder/issues/2/events","html_url":"https://github.com/tebazil/db-seeder/issues/2","id":127393020,"number":2,"title":"Disable truncating table for some cases","user":{"login":"EvgeniyRRU","id":3672367,"avatar_url":"https://avatars.githubusercontent.com/u/3672367?v=3","gravatar_id":"","url":"https://api.github.com/users/EvgeniyRRU","html_url":"https://github.com/EvgeniyRRU","followers_url":"https://api.github.com/users/EvgeniyRRU/followers","following_url":"https://api.github.com/users/EvgeniyRRU/following{/other_user}","gists_url":"https://api.github.com/users/EvgeniyRRU/gists{/gist_id}","starred_url":"https://api.github.com/users/EvgeniyRRU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvgeniyRRU/subscriptions","organizations_url":"https://api.github.com/users/EvgeniyRRU/orgs","repos_url":"https://api.github.com/users/EvgeniyRRU/repos","events_url":"https://api.github.com/users/EvgeniyRRU/events{/privacy}","received_events_url":"https://api.github.com/users/EvgeniyRRU/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-19T08:43:02Z","updated_at":"2016-01-19T10:04:16Z","closed_at":null,"body":"Hello, is this a possible to prevent truncate table on refill? An error occurs when I try to populate data tables, which has foreign keys. May be there are another ways to do it?"},"comment":{"url":"https://api.github.com/repos/tebazil/db-seeder/issues/comments/172802149","html_url":"https://github.com/tebazil/db-seeder/issues/2#issuecomment-172802149","issue_url":"https://api.github.com/repos/tebazil/db-seeder/issues/2","id":172802149,"user":{"login":"tebazil","id":2419721,"avatar_url":"https://avatars.githubusercontent.com/u/2419721?v=3","gravatar_id":"","url":"https://api.github.com/users/tebazil","html_url":"https://github.com/tebazil","followers_url":"https://api.github.com/users/tebazil/followers","following_url":"https://api.github.com/users/tebazil/following{/other_user}","gists_url":"https://api.github.com/users/tebazil/gists{/gist_id}","starred_url":"https://api.github.com/users/tebazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tebazil/subscriptions","organizations_url":"https://api.github.com/users/tebazil/orgs","repos_url":"https://api.github.com/users/tebazil/repos","events_url":"https://api.github.com/users/tebazil/events{/privacy}","received_events_url":"https://api.github.com/users/tebazil/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T10:04:16Z","updated_at":"2016-01-19T10:04:16Z","body":"@EvgeniyRRU , one thing that comes to my mind is that you can reorder the tables so that you don't have a foreign keys issue upon table creating. Can that help?\r\nCurrently the seeder doesn't support such a complex cases - with foreign keys defined.\r\n\r\nWell, you can always make a PR :)"}}