{"action":"opened","number":153,"pull_request":{"url":"https://api.github.com/repos/spatie/laravel-backup/pulls/153","id":74525569,"html_url":"https://github.com/spatie/laravel-backup/pull/153","diff_url":"https://github.com/spatie/laravel-backup/pull/153.diff","patch_url":"https://github.com/spatie/laravel-backup/pull/153.patch","issue_url":"https://api.github.com/repos/spatie/laravel-backup/issues/153","number":153,"state":"open","locked":false,"title":"added support to --ignore-table mysqldump option","user":{"login":"andremellow","id":30204,"avatar_url":"https://avatars.githubusercontent.com/u/30204?v=3","gravatar_id":"","url":"https://api.github.com/users/andremellow","html_url":"https://github.com/andremellow","followers_url":"https://api.github.com/users/andremellow/followers","following_url":"https://api.github.com/users/andremellow/following{/other_user}","gists_url":"https://api.github.com/users/andremellow/gists{/gist_id}","starred_url":"https://api.github.com/users/andremellow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andremellow/subscriptions","organizations_url":"https://api.github.com/users/andremellow/orgs","repos_url":"https://api.github.com/users/andremellow/repos","events_url":"https://api.github.com/users/andremellow/events{/privacy}","received_events_url":"https://api.github.com/users/andremellow/received_events","type":"User","site_admin":false},"body":"I've added an option to ignore some tables on MySql backups.\r\n\r\nIt can be done by adding an array with options to databases key\r\n```\r\n/*\r\n+                * You can use some options to database backups\r\n+                * includeTables - Incluide only these tables in backup\r\n+                * excludeTables - Ingnore these tables in backup\r\n+                * NOTE - You can't use includeTables and excludeTables at the same time.\r\n+                * NOTE - Don't prefix the schema name. It'll be done automatically  \r\n+                *'mysql' => [\r\n+                *    'excludeTables' => [\r\n+                *        'table_one' ,\r\n+                *        'table_two'\r\n+                *    ]\r\n+                *]\r\n+                * Currently only MySQL (includeTables and excludeTables) options are supported.\r\n+                */\r\n```\r\n\r\n in config file or to artisan command \r\n\r\n`php artisan backup:run --excluide-tables=table_1,table2`\r\n\r\nI've also created some mysqldump tests. You must have a mysql server running to run the tests know","created_at":"2016-06-20T22:41:55Z","updated_at":"2016-06-20T22:41:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spatie/laravel-backup/pulls/153/commits","review_comments_url":"https://api.github.com/repos/spatie/laravel-backup/pulls/153/comments","review_comment_url":"https://api.github.com/repos/spatie/laravel-backup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spatie/laravel-backup/issues/153/comments","statuses_url":"https://api.github.com/repos/spatie/laravel-backup/statuses/b82e9d07fa094c9b8858a1bc870c4278c1aec40d","head":{"label":"andremellow:master","ref":"master","sha":"b82e9d07fa094c9b8858a1bc870c4278c1aec40d","user":{"login":"andremellow","id":30204,"avatar_url":"https://avatars.githubusercontent.com/u/30204?v=3","gravatar_id":"","url":"https://api.github.com/users/andremellow","html_url":"https://github.com/andremellow","followers_url":"https://api.github.com/users/andremellow/followers","following_url":"https://api.github.com/users/andremellow/following{/other_user}","gists_url":"https://api.github.com/users/andremellow/gists{/gist_id}","starred_url":"https://api.github.com/users/andremellow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andremellow/subscriptions","organizations_url":"https://api.github.com/users/andremellow/orgs","repos_url":"https://api.github.com/users/andremellow/repos","events_url":"https://api.github.com/users/andremellow/events{/privacy}","received_events_url":"https://api.github.com/users/andremellow/received_events","type":"User","site_admin":false},"repo":{"id":61229272,"name":"laravel-backup","full_name":"andremellow/laravel-backup","owner":{"login":"andremellow","id":30204,"avatar_url":"https://avatars.githubusercontent.com/u/30204?v=3","gravatar_id":"","url":"https://api.github.com/users/andremellow","html_url":"https://github.com/andremellow","followers_url":"https://api.github.com/users/andremellow/followers","following_url":"https://api.github.com/users/andremellow/following{/other_user}","gists_url":"https://api.github.com/users/andremellow/gists{/gist_id}","starred_url":"https://api.github.com/users/andremellow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andremellow/subscriptions","organizations_url":"https://api.github.com/users/andremellow/orgs","repos_url":"https://api.github.com/users/andremellow/repos","events_url":"https://api.github.com/users/andremellow/events{/privacy}","received_events_url":"https://api.github.com/users/andremellow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andremellow/laravel-backup","description":"A package to backup your Laravel 5 app","fork":true,"url":"https://api.github.com/repos/andremellow/laravel-backup","forks_url":"https://api.github.com/repos/andremellow/laravel-backup/forks","keys_url":"https://api.github.com/repos/andremellow/laravel-backup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andremellow/laravel-backup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andremellow/laravel-backup/teams","hooks_url":"https://api.github.com/repos/andremellow/laravel-backup/hooks","issue_events_url":"https://api.github.com/repos/andremellow/laravel-backup/issues/events{/number}","events_url":"https://api.github.com/repos/andremellow/laravel-backup/events","assignees_url":"https://api.github.com/repos/andremellow/laravel-backup/assignees{/user}","branches_url":"https://api.github.com/repos/andremellow/laravel-backup/branches{/branch}","tags_url":"https://api.github.com/repos/andremellow/laravel-backup/tags","blobs_url":"https://api.github.com/repos/andremellow/laravel-backup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andremellow/laravel-backup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andremellow/laravel-backup/git/refs{/sha}","trees_url":"https://api.github.com/repos/andremellow/laravel-backup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andremellow/laravel-backup/statuses/{sha}","languages_url":"https://api.github.com/repos/andremellow/laravel-backup/languages","stargazers_url":"https://api.github.com/repos/andremellow/laravel-backup/stargazers","contributors_url":"https://api.github.com/repos/andremellow/laravel-backup/contributors","subscribers_url":"https://api.github.com/repos/andremellow/laravel-backup/subscribers","subscription_url":"https://api.github.com/repos/andremellow/laravel-backup/subscription","commits_url":"https://api.github.com/repos/andremellow/laravel-backup/commits{/sha}","git_commits_url":"https://api.github.com/repos/andremellow/laravel-backup/git/commits{/sha}","comments_url":"https://api.github.com/repos/andremellow/laravel-backup/comments{/number}","issue_comment_url":"https://api.github.com/repos/andremellow/laravel-backup/issues/comments{/number}","contents_url":"https://api.github.com/repos/andremellow/laravel-backup/contents/{+path}","compare_url":"https://api.github.com/repos/andremellow/laravel-backup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andremellow/laravel-backup/merges","archive_url":"https://api.github.com/repos/andremellow/laravel-backup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andremellow/laravel-backup/downloads","issues_url":"https://api.github.com/repos/andremellow/laravel-backup/issues{/number}","pulls_url":"https://api.github.com/repos/andremellow/laravel-backup/pulls{/number}","milestones_url":"https://api.github.com/repos/andremellow/laravel-backup/milestones{/number}","notifications_url":"https://api.github.com/repos/andremellow/laravel-backup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andremellow/laravel-backup/labels{/name}","releases_url":"https://api.github.com/repos/andremellow/laravel-backup/releases{/id}","deployments_url":"https://api.github.com/repos/andremellow/laravel-backup/deployments","created_at":"2016-06-15T18:03:28Z","updated_at":"2016-06-15T18:03:30Z","pushed_at":"2016-06-20T22:33:41Z","git_url":"git://github.com/andremellow/laravel-backup.git","ssh_url":"git@github.com:andremellow/laravel-backup.git","clone_url":"https://github.com/andremellow/laravel-backup.git","svn_url":"https://github.com/andremellow/laravel-backup","homepage":"https://murze.be/2016/03/a-modern-backup-solution-for-laravel-apps/","size":417,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spatie:master","ref":"master","sha":"95790d37fd6972ed61f9481ebcbb51398b5b981a","user":{"login":"spatie","id":7535935,"avatar_url":"https://avatars.githubusercontent.com/u/7535935?v=3","gravatar_id":"","url":"https://api.github.com/users/spatie","html_url":"https://github.com/spatie","followers_url":"https://api.github.com/users/spatie/followers","following_url":"https://api.github.com/users/spatie/following{/other_user}","gists_url":"https://api.github.com/users/spatie/gists{/gist_id}","starred_url":"https://api.github.com/users/spatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spatie/subscriptions","organizations_url":"https://api.github.com/users/spatie/orgs","repos_url":"https://api.github.com/users/spatie/repos","events_url":"https://api.github.com/users/spatie/events{/privacy}","received_events_url":"https://api.github.com/users/spatie/received_events","type":"Organization","site_admin":false},"repo":{"id":30915528,"name":"laravel-backup","full_name":"spatie/laravel-backup","owner":{"login":"spatie","id":7535935,"avatar_url":"https://avatars.githubusercontent.com/u/7535935?v=3","gravatar_id":"","url":"https://api.github.com/users/spatie","html_url":"https://github.com/spatie","followers_url":"https://api.github.com/users/spatie/followers","following_url":"https://api.github.com/users/spatie/following{/other_user}","gists_url":"https://api.github.com/users/spatie/gists{/gist_id}","starred_url":"https://api.github.com/users/spatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spatie/subscriptions","organizations_url":"https://api.github.com/users/spatie/orgs","repos_url":"https://api.github.com/users/spatie/repos","events_url":"https://api.github.com/users/spatie/events{/privacy}","received_events_url":"https://api.github.com/users/spatie/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spatie/laravel-backup","description":"A package to backup your Laravel 5 app","fork":false,"url":"https://api.github.com/repos/spatie/laravel-backup","forks_url":"https://api.github.com/repos/spatie/laravel-backup/forks","keys_url":"https://api.github.com/repos/spatie/laravel-backup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spatie/laravel-backup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spatie/laravel-backup/teams","hooks_url":"https://api.github.com/repos/spatie/laravel-backup/hooks","issue_events_url":"https://api.github.com/repos/spatie/laravel-backup/issues/events{/number}","events_url":"https://api.github.com/repos/spatie/laravel-backup/events","assignees_url":"https://api.github.com/repos/spatie/laravel-backup/assignees{/user}","branches_url":"https://api.github.com/repos/spatie/laravel-backup/branches{/branch}","tags_url":"https://api.github.com/repos/spatie/laravel-backup/tags","blobs_url":"https://api.github.com/repos/spatie/laravel-backup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spatie/laravel-backup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spatie/laravel-backup/git/refs{/sha}","trees_url":"https://api.github.com/repos/spatie/laravel-backup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spatie/laravel-backup/statuses/{sha}","languages_url":"https://api.github.com/repos/spatie/laravel-backup/languages","stargazers_url":"https://api.github.com/repos/spatie/laravel-backup/stargazers","contributors_url":"https://api.github.com/repos/spatie/laravel-backup/contributors","subscribers_url":"https://api.github.com/repos/spatie/laravel-backup/subscribers","subscription_url":"https://api.github.com/repos/spatie/laravel-backup/subscription","commits_url":"https://api.github.com/repos/spatie/laravel-backup/commits{/sha}","git_commits_url":"https://api.github.com/repos/spatie/laravel-backup/git/commits{/sha}","comments_url":"https://api.github.com/repos/spatie/laravel-backup/comments{/number}","issue_comment_url":"https://api.github.com/repos/spatie/laravel-backup/issues/comments{/number}","contents_url":"https://api.github.com/repos/spatie/laravel-backup/contents/{+path}","compare_url":"https://api.github.com/repos/spatie/laravel-backup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spatie/laravel-backup/merges","archive_url":"https://api.github.com/repos/spatie/laravel-backup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spatie/laravel-backup/downloads","issues_url":"https://api.github.com/repos/spatie/laravel-backup/issues{/number}","pulls_url":"https://api.github.com/repos/spatie/laravel-backup/pulls{/number}","milestones_url":"https://api.github.com/repos/spatie/laravel-backup/milestones{/number}","notifications_url":"https://api.github.com/repos/spatie/laravel-backup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spatie/laravel-backup/labels{/name}","releases_url":"https://api.github.com/repos/spatie/laravel-backup/releases{/id}","deployments_url":"https://api.github.com/repos/spatie/laravel-backup/deployments","created_at":"2015-02-17T12:12:41Z","updated_at":"2016-06-17T04:39:10Z","pushed_at":"2016-06-20T22:41:55Z","git_url":"git://github.com/spatie/laravel-backup.git","ssh_url":"git@github.com:spatie/laravel-backup.git","clone_url":"https://github.com/spatie/laravel-backup.git","svn_url":"https://github.com/spatie/laravel-backup","homepage":"https://murze.be/2016/03/a-modern-backup-solution-for-laravel-apps/","size":421,"stargazers_count":908,"watchers_count":908,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":8,"forks":94,"open_issues":8,"watchers":908,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spatie/laravel-backup/pulls/153"},"html":{"href":"https://github.com/spatie/laravel-backup/pull/153"},"issue":{"href":"https://api.github.com/repos/spatie/laravel-backup/issues/153"},"comments":{"href":"https://api.github.com/repos/spatie/laravel-backup/issues/153/comments"},"review_comments":{"href":"https://api.github.com/repos/spatie/laravel-backup/pulls/153/comments"},"review_comment":{"href":"https://api.github.com/repos/spatie/laravel-backup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spatie/laravel-backup/pulls/153/commits"},"statuses":{"href":"https://api.github.com/repos/spatie/laravel-backup/statuses/b82e9d07fa094c9b8858a1bc870c4278c1aec40d"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":417,"deletions":23,"changed_files":12}}
{"actor":{"display_login":"andremellow"}}