Comments (5)
Hi @chaodoze This feature is now available in version 1.2.0
— thanks for your suggestion.
from sequelize-pg-utilities.
@chaodoze would you mind spelling out in more detail what you want?
from sequelize-pg-utilities.
I'm looking at sequelize/sequelize#956 but that's quite an old issue. I am using this library in production on projects running on Heroku without any special config on my end, though I do recall some config needed to be done at the Heroku end.
Anyway please get back to me with more details and I am happy to look into this further for you.
from sequelize-pg-utilities.
from sequelize-pg-utilities.
Hi @chaodoze that's interesting. Under the hood I am using pgtools
to handle the creation of the database, but am simply using sequelize
to actually connect to it once the database has been created. My library just formats the config correctly for either to use.
Assuming your database is running in production when secured you probably won't need to use the makeInitialiser
feature I provide (which is the bit that uses pgtools
) but you will need to pass ssl configuration options through to sequelize. (Note if you are not using sequelize
then you don't need this library at all).
It looks like I could just take the ssl
block from config and pass it through as dialectOptions
. I'd be willing to try that as a test-release and you could check to see if that does what you need. If it does then I'd also probably have to refactor the makeInitialiser
function to not use pgtools
.
So one step at a time perhaps.
I'm also on vacation right now (we Australians get a 4 day break for easter) but I am not doing much other than loll about by the hotel pool, so will spend a bit more time having a look at this.
from sequelize-pg-utilities.
Related Issues (16)
- DATABASE_URL environment variable is actually being ignored
- Migration Config format is incorrect
- Remove dependency on pgtools HOT 1
- Support other Postgres relevant Sequelize options HOT 4
- DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed. HOT 4
- An in-range update of eslint is breaking the build 🚨 HOT 1
- An in-range update of @stryker-mutator/javascript-mutator is breaking the build 🚨 HOT 1
- An in-range update of sinon is breaking the build 🚨 HOT 1
- An in-range update of @stryker-mutator/core is breaking the build 🚨 HOT 1
- An in-range update of @stryker-mutator/javascript-mutator is breaking the build 🚨 HOT 1
- An in-range update of @stryker-mutator/javascript-mutator is breaking the build 🚨 HOT 1
- An in-range update of sinon-chai is breaking the build 🚨 HOT 1
- An in-range update of eslint-plugin-import is breaking the build 🚨 HOT 1
- An in-range update of eslint-config-standard is breaking the build 🚨 HOT 1
- An in-range update of lint-staged is breaking the build 🚨 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sequelize-pg-utilities.