Skip to content

Commit

Permalink
added dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicemma committed Apr 27, 2020
1 parent df6f585 commit 933b46e
Show file tree
Hide file tree
Showing 4 changed files with 1,973 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
node_modules/
44 changes: 44 additions & 0 deletions knexfile.js
@@ -0,0 +1,44 @@
// Update with your config settings.

module.exports = {

development: {
client: 'sqlite3',
connection: {
filename: './dev.sqlite3'
}
},

staging: {
client: 'postgresql',
connection: {
database: 'my_db',
user: 'username',
password: 'password'
},
pool: {
min: 2,
max: 10
},
migrations: {
tableName: 'knex_migrations'
}
},

production: {
client: 'postgresql',
connection: {
database: 'my_db',
user: 'username',
password: 'password'
},
pool: {
min: 2,
max: 10
},
migrations: {
tableName: 'knex_migrations'
}
}

};

0 comments on commit 933b46e

Please sign in to comment.