{"action":"created","issue":{"url":"https://api.github.com/repos/guru-ce/forum/issues/6","repository_url":"https://api.github.com/repos/guru-ce/forum","labels_url":"https://api.github.com/repos/guru-ce/forum/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/guru-ce/forum/issues/6/comments","events_url":"https://api.github.com/repos/guru-ce/forum/issues/6/events","html_url":"https://github.com/guru-ce/forum/issues/6","id":165573355,"number":6,"title":"Dois Apps, um só database","user":{"login":"dehvmartins","id":1577963,"avatar_url":"https://avatars.githubusercontent.com/u/1577963?v=3","gravatar_id":"","url":"https://api.github.com/users/dehvmartins","html_url":"https://github.com/dehvmartins","followers_url":"https://api.github.com/users/dehvmartins/followers","following_url":"https://api.github.com/users/dehvmartins/following{/other_user}","gists_url":"https://api.github.com/users/dehvmartins/gists{/gist_id}","starred_url":"https://api.github.com/users/dehvmartins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dehvmartins/subscriptions","organizations_url":"https://api.github.com/users/dehvmartins/orgs","repos_url":"https://api.github.com/users/dehvmartins/repos","events_url":"https://api.github.com/users/dehvmartins/events{/privacy}","received_events_url":"https://api.github.com/users/dehvmartins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-14T14:19:51Z","updated_at":"2016-07-14T14:37:56Z","closed_at":null,"body":"Bem, eu estou com dois apps que compartilham o mesmo banco. cada app tem migrations diferentes e um usa o banco do outro. A nível de desenvolvimento e heroku tudo funciona.\r\n\r\nO problema é o seguinte: como configurar isso no CI? Porque localmente eu aponto para o banco certo e funciona. Estou usando o wercker mas se você tiver alguma ideia de como fazer isso no circleci ou qualquer outro já ajuda.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/guru-ce/forum/issues/comments/232684448","html_url":"https://github.com/guru-ce/forum/issues/6#issuecomment-232684448","issue_url":"https://api.github.com/repos/guru-ce/forum/issues/6","id":232684448,"user":{"login":"fernandodev","id":3255250,"avatar_url":"https://avatars.githubusercontent.com/u/3255250?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandodev","html_url":"https://github.com/fernandodev","followers_url":"https://api.github.com/users/fernandodev/followers","following_url":"https://api.github.com/users/fernandodev/following{/other_user}","gists_url":"https://api.github.com/users/fernandodev/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandodev/subscriptions","organizations_url":"https://api.github.com/users/fernandodev/orgs","repos_url":"https://api.github.com/users/fernandodev/repos","events_url":"https://api.github.com/users/fernandodev/events{/privacy}","received_events_url":"https://api.github.com/users/fernandodev/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T14:37:56Z","updated_at":"2016-07-14T14:37:56Z","body":"Tu podes fazer assim:\r\n\r\n```\r\n## Customize database setup\r\ndatabase:\r\n  override:\r\n    # replace CircleCI's generated database.yml\r\n    - cp config/database.yml.ci config/database.yml\r\n    - bundle exec rake db:create db:schema:load\r\n```\r\n\r\nhttps://circleci.com/docs/config-sample/\r\n\r\nNão sei isso te responde."}}
{"actor":{"display_login":"fernandodev"}}