{"action":"closed","issue":{"url":"https://api.github.com/repos/BlueHotDog/sails-migrations/issues/56","labels_url":"https://api.github.com/repos/BlueHotDog/sails-migrations/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/BlueHotDog/sails-migrations/issues/56/comments","events_url":"https://api.github.com/repos/BlueHotDog/sails-migrations/issues/56/events","html_url":"https://github.com/BlueHotDog/sails-migrations/issues/56","id":58918759,"number":56,"title":"Heroku Postgres connection string requires ssl param","user":{"login":"gregbty","id":680484,"avatar_url":"https://avatars.githubusercontent.com/u/680484?v=3","gravatar_id":"","url":"https://api.github.com/users/gregbty","html_url":"https://github.com/gregbty","followers_url":"https://api.github.com/users/gregbty/followers","following_url":"https://api.github.com/users/gregbty/following{/other_user}","gists_url":"https://api.github.com/users/gregbty/gists{/gist_id}","starred_url":"https://api.github.com/users/gregbty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregbty/subscriptions","organizations_url":"https://api.github.com/users/gregbty/orgs","repos_url":"https://api.github.com/users/gregbty/repos","events_url":"https://api.github.com/users/gregbty/events{/privacy}","received_events_url":"https://api.github.com/users/gregbty/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-25T15:32:18Z","updated_at":"2015-11-02T21:35:30Z","closed_at":"2015-11-02T21:35:30Z","body":"When using Heroku Postgres with sails, you have to add a property for ssl:\r\n\r\n```node\r\n  connections: {\r\n    postgres: {\r\n      url: 'postgres://CONNECTION_STRING',\r\n      ssl: true\r\n    }\r\n   }\r\n```\r\n\r\nHowever, this does not work for sails-migrations. You have to explicitly add ssl to the connection string:\r\n\r\n```node\r\n  connections: {\r\n    postgres: {\r\n      url: 'postgres://CONNECTION_STRING?ssl=true'\r\n    }\r\n  }\r\n```"}}