{"action":"created","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1697","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1697/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1697/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1697/events","html_url":"https://github.com/wp-cli/wp-cli/pull/1697","id":60062457,"number":1697,"title":"Add `--all-tables` flag to `search-replace` command","user":{"login":"JPry","id":871924,"avatar_url":"https://avatars.githubusercontent.com/u/871924?v=3","gravatar_id":"","url":"https://api.github.com/users/JPry","html_url":"https://github.com/JPry","followers_url":"https://api.github.com/users/JPry/followers","following_url":"https://api.github.com/users/JPry/following{/other_user}","gists_url":"https://api.github.com/users/JPry/gists{/gist_id}","starred_url":"https://api.github.com/users/JPry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPry/subscriptions","organizations_url":"https://api.github.com/users/JPry/orgs","repos_url":"https://api.github.com/users/JPry/repos","events_url":"https://api.github.com/users/JPry/events{/privacy}","received_events_url":"https://api.github.com/users/JPry/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wp-cli/wp-cli/labels/scope:command","name":"scope:command","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/wp-cli/wp-cli/milestones/28","html_url":"https://github.com/wp-cli/wp-cli/milestones/next","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/milestones/28/labels","id":935087,"number":28,"title":"next","description":"","creator":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":33,"state":"open","created_at":"2015-01-14T14:20:01Z","updated_at":"2015-03-11T15:44:18Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-03-06T05:49:22Z","updated_at":"2015-03-11T15:46:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wp-cli/wp-cli/pulls/1697","html_url":"https://github.com/wp-cli/wp-cli/pull/1697","diff_url":"https://github.com/wp-cli/wp-cli/pull/1697.diff","patch_url":"https://github.com/wp-cli/wp-cli/pull/1697.patch"},"body":"### Approach\n\nAdds a new flag, `--all-tables`, to the `search-replace` command. This allows the command to be run against all tables in the database, rather than strictly WordPress tables or even prefixed tables. Because of the possibility for destruction, the flag also prompts the user to confirm the action.\n\nThere are also some Behat tests to cover the functionality.\n\n### Tests\n- [x] Functional"},"comment":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/comments/78290064","html_url":"https://github.com/wp-cli/wp-cli/pull/1697#issuecomment-78290064","issue_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1697","id":78290064,"user":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T15:46:15Z","updated_at":"2015-03-11T15:46:15Z","body":"Thanks for your work on this — looks great."}}