{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/laravel/issues/3230","labels_url":"https://api.github.com/repos/laravel/laravel/issues/3230/labels{/name}","comments_url":"https://api.github.com/repos/laravel/laravel/issues/3230/comments","events_url":"https://api.github.com/repos/laravel/laravel/issues/3230/events","html_url":"https://github.com/laravel/laravel/pull/3230","id":55406112,"number":3230,"title":"[5.0] Set database.prefix based on env config","user":{"login":"mtvs","id":8286154,"avatar_url":"https://avatars.githubusercontent.com/u/8286154?v=3","gravatar_id":"","url":"https://api.github.com/users/mtvs","html_url":"https://github.com/mtvs","followers_url":"https://api.github.com/users/mtvs/followers","following_url":"https://api.github.com/users/mtvs/following{/other_user}","gists_url":"https://api.github.com/users/mtvs/gists{/gist_id}","starred_url":"https://api.github.com/users/mtvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtvs/subscriptions","organizations_url":"https://api.github.com/users/mtvs/orgs","repos_url":"https://api.github.com/users/mtvs/repos","events_url":"https://api.github.com/users/mtvs/events{/privacy}","received_events_url":"https://api.github.com/users/mtvs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-25T09:00:43Z","updated_at":"2015-01-25T16:39:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/laravel/laravel/pulls/3230","html_url":"https://github.com/laravel/laravel/pull/3230","diff_url":"https://github.com/laravel/laravel/pull/3230.diff","patch_url":"https://github.com/laravel/laravel/pull/3230.patch"},"body":"DB tables prefix should be an environment variable.\r\n\r\nFor example, consider you have a shared host with max 1 database limitation that you used for hosting your projects, so you need to set DB prefix while on your local development environment you don't need it. "},"comment":{"url":"https://api.github.com/repos/laravel/laravel/issues/comments/71380255","html_url":"https://github.com/laravel/laravel/pull/3230#issuecomment-71380255","issue_url":"https://api.github.com/repos/laravel/laravel/issues/3230","id":71380255,"user":{"login":"mtvs","id":8286154,"avatar_url":"https://avatars.githubusercontent.com/u/8286154?v=3","gravatar_id":"","url":"https://api.github.com/users/mtvs","html_url":"https://github.com/mtvs","followers_url":"https://api.github.com/users/mtvs/followers","following_url":"https://api.github.com/users/mtvs/following{/other_user}","gists_url":"https://api.github.com/users/mtvs/gists{/gist_id}","starred_url":"https://api.github.com/users/mtvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtvs/subscriptions","organizations_url":"https://api.github.com/users/mtvs/orgs","repos_url":"https://api.github.com/users/mtvs/repos","events_url":"https://api.github.com/users/mtvs/events{/privacy}","received_events_url":"https://api.github.com/users/mtvs/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T16:39:39Z","updated_at":"2015-01-25T16:39:39Z","body":"@juukie14 \r\nI think *consistency* is important so when you set one environment variable using `env()` you should do the same about the rest too."}}