-
Notifications
You must be signed in to change notification settings - Fork 8
For sqlite database
Alexey Gordeyev edited this page Feb 27, 2016
·
7 revisions
- For MongoDB database
- For MySQL database
- For Redis database
- For SQLite database
- For PostgeSQL database
- Add dependency to
sqlite3database driver module in apppackage.json, and install it. - Rewrite database configuration file
To configure trinte app for SQLite database use adapter name sqlite3.
|-- config
|-- ...
`-- database.js
you must first create a directory.
module.exports.production = {
driver : 'sqlite3',
database : './db/trinte-dev.db'
};
module.exports.development = {
...
};
module.exports.test = {
...
};Full database params list here