-
Notifications
You must be signed in to change notification settings - Fork 8
For PostgeSQL database
Alexey Gordeyev edited this page Feb 27, 2016
·
3 revisions
- For MongoDB database
- For MySQL / MariaDB database
- For Redis database
- For SQLite database
- For PostgeSQL database
- Add dependency to
pg
database driver module in apppackage.json
, and install it. - Rewrite database configuration file
To configure trinte app for PostgeSQL database use adapter name postgres
.
module.exports.production = {
driver : 'postgres',
host : 'localhost',
port : '5432',
username : 'test',
password : 'test',
database : 'trinte-dev'
};
module.exports.development = {
...
};
module.exports.test = {
...
};
Full database params list here