Created
July 8, 2020 19:48
-
-
Save Dionid/6ad1e18d894788065266d529d9798159 to your computer and use it in GitHub Desktop.
MikroORM TypeScript minimal PostreSQL config with ssl (for heroku / hasura)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const config = { | |
entities: [], | |
driverOptions: { | |
connection: { | |
ssl: { | |
require: true, | |
rejectUnauthorized: false, | |
}, | |
}, | |
}, | |
type: "postgresql", | |
clientUrl: "#{FULL_PATH}?ssl=true", | |
} | |
export default config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment